19declare(strict_types=1);
25use ILIAS\UI\Implementation\Component\ComponentHelper;
98 $clone->aria_label =
$label;
This implements commonalities between different types of Dropdowns.
appendOnHover(Signal $signal)
appendOnClick(Signal $signal)
__construct(array $items)
Dropdown constructor.
withOnHover(Signal $signal)
withAriaLabel(string $label)
withOnClick(Signal $signal)
appendTriggeredSignal(C\Signal $signal, string $event)
Append a triggered signal to other signals of the same event.
withTriggeredSignal(C\Signal $signal, string $event)
Add a triggered signal, replacing any other signals registered on the same event.
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.