ILIAS  trunk Revision v5.2.0beta1-34115-g3a2438be29
ILIAS\UI\Component\Onloadable Interface Reference
+ Inheritance diagram for ILIAS\UI\Component\Onloadable:
+ Collaboration diagram for ILIAS\UI\Component\Onloadable:

Public Member Functions

 withOnLoad (Signal $signal)
 Trigger a signal of another component on load. More...
 
 appendOnLoad (Signal $signal)
 Get a component like this, triggering a signal of another component on load. 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...
 

Detailed Description

Definition at line 30 of file Onloadable.php.

Member Function Documentation

◆ appendOnLoad()

ILIAS\UI\Component\Onloadable::appendOnLoad ( Signal  $signal)

Get a component like this, triggering a signal of another component on load.

In contrast to withOnLoad, the signal is appended to existing signals for the on load event.

Returns
static

Implemented in ILIAS\UI\Implementation\Component\Dropzone\File\File, and ILIAS\UI\Implementation\Component\Modal\Modal.

◆ withOnLoad()

ILIAS\UI\Component\Onloadable::withOnLoad ( Signal  $signal)

Trigger a signal of another component on load.

Parameters
Signal$signalA signal of another component
Returns
static

Implemented in ILIAS\UI\Implementation\Component\Dropzone\File\File, and ILIAS\UI\Implementation\Component\Modal\Modal.


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