88 $clone->aria_label =
$label;
An exception for terminatinating execution or to throw for unit testing.
This implements commonalities between different types of Dropdowns.
appendOnHover(Signal $signal)
appendOnClick(Signal $signal)
withOnHover(Signal $signal)
__construct($items)
Dropdown constructor.
withOnClick(Signal $signal)
withTriggeredSignal(Component\Signal $signal, $event)
Add a triggered signal, replacing any other signals registered on the same event.
checkStringArg($which, $value)
Throw an InvalidArgumentException if $value is no string.
appendTriggeredSignal(Component\Signal $signal, $event)
Append a triggered signal to other signals of the same event.
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
trait ComponentHelper
Provides common functionality for component implementations.