ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
ILIAS\UI\Component\JavaScriptBindable Interface Reference

Interface to be extended by components that have the possibility to bind to Javascript. More...

+ Inheritance diagram for ILIAS\UI\Component\JavaScriptBindable:
+ Collaboration diagram for ILIAS\UI\Component\JavaScriptBindable:

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...
 

Detailed Description

Interface to be extended by components that have the possibility to bind to Javascript.

Definition at line 11 of file JavaScriptBindable.php.

Member Function Documentation

◆ getOnLoadCode()

ILIAS\UI\Component\JavaScriptBindable::getOnLoadCode ( )

Get the currently bound on load code.

Returns
|null
Examples:
/usr/local/src/ilias/release_6/src/UI/Component/JavaScriptBindable.php.

Referenced by ILIAS\UI\Implementation\Render\AbstractComponentRenderer\bindOnloadCode().

+ Here is the caller graph for this function:

◆ withAdditionalOnLoadCode()

◆ withOnLoadCode()

ILIAS\UI\Component\JavaScriptBindable::withOnLoadCode ( \Closure  $binder)

The documentation for this interface was generated from the following file: