const STANDARD
Types of images.
withAlt($alt)
Set the alternative text for screen readers.
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
getType()
Get the type of the image.
A component is the most general form of an entity in the UI.
withAction($action)
Get an image like this with an action.
getAlt()
Get the alternative text for screen readers.
getAction()
Get the action of the image.
withSource($source)
Set the source (path) of the image.
getSource()
Get the source (path) of the image.