ILIAS  release_8 Revision v8.19
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...
 
- Public Member Functions inherited from ILIAS\UI\Component\Component
 getCanonicalName ()
 Get the canonical name of the component. More...
 

Detailed Description

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

Definition at line 28 of file JavaScriptBindable.php.

Member Function Documentation

◆ getOnLoadCode()

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

◆ withAdditionalOnLoadCode()

◆ withOnLoadCode()

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

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