eZ.AlloyEditorButton.ButtonBlockTextAlign Class
Mixin that provides the base to implement the block text align buttons.
Item Index
Methods
Methods
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:
Boolean:
render
()
Object
Lifecycle. Renders the UI of the button.
Returns:
Object:
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