ILIAS  trunk Revision v5.2.0beta1-34132-g2d4d73d4a0
ILIAS\UI\Component\Dropdown\Dropdown Interface Reference

This describes commonalities between all types of Dropdowns. More...

+ Inheritance diagram for ILIAS\UI\Component\Dropdown\Dropdown:
+ Collaboration diagram for ILIAS\UI\Component\Dropdown\Dropdown:

Public Member Functions

 getItems ()
 Get the items of the Dropdown. More...
 
 getLabel ()
 Get the label of the Dropdown. More...
 
 getAriaLabel ()
 Get the aria-label of the Dropdown. More...
 
 withLabel (string $label)
 Get a Dropdown like this, but with an additional/replaced label. More...
 
 withAriaLabel (string $label)
 Get a Dropdown like this, but with an additional/replaced aria-label. More...
 
- Public Member Functions inherited from ILIAS\UI\Component\Component
 getCanonicalName ()
 Get the canonical name of the 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\Clickable
 withOnClick (Signal $signal)
 Get a component like this, triggering a signal of another component on click. More...
 
 appendOnClick (Signal $signal)
 Get a component like this, triggering a signal of another component on click. 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\Hoverable
 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...
 

Detailed Description

This describes commonalities between all types of Dropdowns.

Definition at line 34 of file Dropdown.php.

Member Function Documentation

◆ getAriaLabel()

ILIAS\UI\Component\Dropdown\Dropdown::getAriaLabel ( )

Get the aria-label of the Dropdown.

◆ getItems()

ILIAS\UI\Component\Dropdown\Dropdown::getItems ( )

Get the items of the Dropdown.

Returns
array<Shy|Horizontal|Standard>

◆ getLabel()

ILIAS\UI\Component\Dropdown\Dropdown::getLabel ( )

Get the label of the Dropdown.

◆ withAriaLabel()

ILIAS\UI\Component\Dropdown\Dropdown::withAriaLabel ( string  $label)

Get a Dropdown like this, but with an additional/replaced aria-label.

◆ withLabel()

ILIAS\UI\Component\Dropdown\Dropdown::withLabel ( string  $label)

Get a Dropdown like this, but with an additional/replaced label.


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