ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
ILIAS\UI\Component\Droppable Interface Reference
+ Inheritance diagram for ILIAS\UI\Component\Droppable:
+ Collaboration diagram for ILIAS\UI\Component\Droppable:

Public Member Functions

 withOnDrop (Signal $signal)
 Get a component like this, triggering a signal of another component when files have been dropped. More...
 
 withAdditionalDrop (Signal $signal)
 Get a component like this, triggering a signal of another component when files have been dropped. 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 34 of file Droppable.php.

Member Function Documentation

◆ withAdditionalDrop()

ILIAS\UI\Component\Droppable::withAdditionalDrop ( Signal  $signal)

Get a component like this, triggering a signal of another component when files have been dropped.

In contrast to withOnDrop, the signal is appended to existing signals for the click event.

Parameters
Signal$signala ILIAS UI signal which is used on drop event
Returns
static

Implemented in ILIAS\UI\Implementation\Component\Dropzone\File\File.

◆ withOnDrop()

ILIAS\UI\Component\Droppable::withOnDrop ( Signal  $signal)

Get a component like this, triggering a signal of another component when files have been dropped.

Note: Any previous signals registered on drop are replaced.

Parameters
Signal$signala ILIAS UI signal which is used on drop event
Returns
static

Implemented in ILIAS\UI\Implementation\Component\Dropzone\File\File.


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