An exception for terminatinating execution or to throw for unit testing.
A component is the most general form of an entity in the UI.
getAction()
Get the action of the image.
const STANDARD
Types of images.
getAlt()
Get the alternative text for screen readers.
withAlt($alt)
Set the alternative text for screen readers.
getType()
Get the type of the image.
getSource()
Get the source (path) of the image.
withAction($action)
Get an image like this with an action.
withSource($source)
Set the source (path) of the image.
Interface to be extended by components that have the possibility to bind to Javascript.
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.