|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ILIAS\UI\Component\Clickable:
Collaboration diagram for ILIAS\UI\Component\Clickable:Public Member Functions | |
| withOnClick (Signal $signal) | |
| Get a component like this, triggering a signal of another component on click. More... | |
| appendOnClick (Signal $signal) | |
| Get a component like this, triggering a signal of another component on click. More... | |
Public Member Functions inherited from ILIAS\UI\Component\Triggerer | |
| withResetTriggeredSignals () | |
| Get a component like this but reset any triggered signals of other components. More... | |
| getTriggeredSignals () | |
| Get all triggered signals of this component. More... | |
Public Member Functions inherited from ILIAS\UI\Component\JavaScriptBindable | |
| withOnLoadCode (Closure $binder) | |
| withAdditionalOnLoadCode (Closure $binder) | |
| Add some onload-code to the component instead of replacing the existing one. More... | |
| getOnLoadCode () | |
| Get the currently bound on load code. More... | |
Public Member Functions inherited from ILIAS\UI\Component\Component | |
| getCanonicalName () | |
| Get the canonical name of the component. More... | |
| reduceWith (\Closure $fn) | |
| The scheme starts at the leaves of the structure and applies the function to each leave and moves up the tree recursively. More... | |
Definition at line 30 of file Clickable.php.
| ILIAS\UI\Component\Clickable::appendOnClick | ( | Signal | $signal | ) |
Get a component like this, triggering a signal of another component on click.
In contrast to withOnClick, the signal is appended to existing signals for the click event.
Implemented in ILIAS\UI\Component\Symbol\Glyph\Glyph, and ILIAS\UI\Implementation\Component\Input\Container\Filter\ProxyFilterField.
Referenced by NodeTest\testWithAppendOnClick().
Here is the caller graph for this function:| ILIAS\UI\Component\Clickable::withOnClick | ( | Signal | $signal | ) |
Get a component like this, triggering a signal of another component on click.
Note: Any previous signals registered on click are replaced.
| Signal | $signal | A signal of another component |
Implemented in ILIAS\UI\Component\Symbol\Glyph\Glyph, and ILIAS\UI\Implementation\Component\Input\Container\Filter\ProxyFilterField.
Referenced by ILIAS\components\ResourceStorage\Container\View\RequestToDataTable\buildTopActions(), and ILIAS\UI\examples\Tree\Expandable\expandable().
Here is the caller graph for this function: