ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ILIAS\UI\Component\Hoverable Interface Reference
+ Inheritance diagram for ILIAS\UI\Component\Hoverable:
+ Collaboration diagram for ILIAS\UI\Component\Hoverable:

Public Member Functions

 withOnHover (Signal $signal)
 Get a component like this, triggering a signal of another component on hover. More...
 
 appendOnHover (Signal $signal)
 Get a component like this, triggering a signal of another component on hover. 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 Hoverable.php.

Member Function Documentation

◆ appendOnHover()

ILIAS\UI\Component\Hoverable::appendOnHover ( Signal  $signal)

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

In contrast to withOnHover, the signal is appended to existing signals for the hover event.

Parameters
Signal$signal
Returns
$this

◆ withOnHover()

ILIAS\UI\Component\Hoverable::withOnHover ( Signal  $signal)

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

Note: Any previous signals registered on hover are replaced.

Parameters
Signal$signalA signal of another component
Returns
$this

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