eZ.AlloyEditorButton.ButtonBlockTextAlignLeft Class
The ButtonBlockTextAlignLeft class provides functionality for aligning to the left the text inside a block element.
Item Index
Methods
Methods
_getLabel
()
String
Returns the translated label for the button
Returns:
applyStyle
()
Applies or removes the text align style
isActive
()
Boolean
Checks whether the element holding the caret already has the current text align style
Returns:
render
()
Object
Lifecycle. Renders the UI of the button.
Returns:
The content which should be rendered.
Properties
classIcon
String
The suffix of the class to use icon to set the button icon
editor
Object
The editor instance where the component is being used.
label
String
deprecated
The label that should be used for accessibility purposes. This property is deprecated, component using this mixin should implement a _getLabel method instead.
tabIndex
Number
The tabIndex of the button in its toolbar current state. A value other than -1 means that the button has focus and is the active element.
textAlign
String
The text-align style value to check and apply