An exception for terminatinating execution or to throw for unit testing.
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.
getCustomSignal(string $signal_name)
Get signal with custom JavaScript code.
getContent()
Get content as string stored in this component.
withCustomSignal(string $signal_name, string $js_code)
Get a legacy component like this, but with an additional signal with custom JavaScript code.
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.