ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
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... | |
![]() | |
withResetTriggeredSignals () | |
Get a component like this but reset any triggered signals of other components. More... | |
getTriggeredSignals () | |
Get all triggered signals of this component. More... | |
![]() | |
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... | |
Definition at line 11 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.
Signal | $signal |
Implemented in ILIAS\UI\Implementation\Component\Tree\Node\Node, and ILIAS\UI\Implementation\Component\Input\Container\Filter\ProxyFilterField.
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\Implementation\Component\Tree\Node\Node, ILIAS\UI\Component\Button\Button, and ILIAS\UI\Implementation\Component\Input\Container\Filter\ProxyFilterField.
Referenced by expandable().