ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
ILIAS\UI\Component\OnUpdateable Interface Reference
+ Inheritance diagram for ILIAS\UI\Component\OnUpdateable:
+ Collaboration diagram for ILIAS\UI\Component\OnUpdateable:

Public Member Functions

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

Detailed Description

Definition at line 11 of file OnUpdateable.php.

Member Function Documentation

◆ appendOnUpdate()

ILIAS\UI\Component\OnUpdateable::appendOnUpdate ( Signal  $signal)

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

In contrast to withOnUpdate, the signal is appended to existing signals for the on update event.

Parameters
Signal$signal
Returns
$this

Implemented in ILIAS\UI\Implementation\Component\Input\Field\Input.

◆ withOnUpdate()

ILIAS\UI\Component\OnUpdateable::withOnUpdate ( Signal  $signal)

Trigger a signal of another component on update.

Parameters
Signal$signalA signal of another component
Returns
$this

Implemented in ILIAS\UI\Implementation\Component\Input\Field\Input, and ILIAS\UI\Implementation\Component\Input\Field\Group.


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