API Docs for: 1.0.0
Show:

eZ.AlloyEditorButton.ButtonBlockTextAlignRight Class

The ButtonBlockTextAlignRight class provides functionality for aligning to the right the text inside a block element.

Item Index

Properties

Methods

_getLabel

() String

Returns the translated label for the button

Returns:

String:

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