19declare(strict_types=1);
A component is the most general form of an entity in the UI.
Interface to be extended by components that have the possibility to bind to Javascript.
This describes a Sortation Control.
withOnSort(Signal $signal)
Get a component like this, triggering a signal of another component.
getTargetURL()
Get the url this instance should trigger.
getParameterName()
Get the identifier of this instance.
withLabelPrefix(string $label_prefix)
Set the prefix of the label.
withTargetURL(string $url, string $parameter_name)
Get a Sortation with this target-url.
getSelectSignal()
Get the Signal for the selection of a option.
withSelected(string $selected_option)
Set the selected option.
getOptions()
Get the sorting-options.
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.