ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Interface to be extended by components that have the possibility to bind to Javascript. More...
Public Member Functions | |
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... | |
Interface to be extended by components that have the possibility to bind to Javascript.
Definition at line 11 of file JavaScriptBindable.php.
ILIAS\UI\Component\JavaScriptBindable::getOnLoadCode | ( | ) |
Get the currently bound on load code.
Referenced by ILIAS\UI\Implementation\Render\AbstractComponentRenderer\bindOnloadCode().
ILIAS\UI\Component\JavaScriptBindable::withAdditionalOnLoadCode | ( | \Closure | $binder | ) |
Add some onload-code to the component instead of replacing the existing one.
Must work like getOnLoadCode was called and the result of the existing binder (if any) and the result of the new binder are concatenated in a new binder.
\Closure | $binder |
Referenced by ILIAS\UI\Implementation\Render\AbstractComponentRenderer\addTriggererOnLoadCode().
ILIAS\UI\Component\JavaScriptBindable::withOnLoadCode | ( | \Closure | $binder | ) |
Referenced by ILIAS\UI\Implementation\Component\Input\Field\Renderer\renderTextareaField().