API Docs for: 1.0.0
Show:

eZ.AlloyEditorButton.ButtonEmbedLeft Class

The ButtonEmbedLeft class provides functionality for aligning an embed element on the left

Item Index

Properties

Methods

_getLabel

() String

Returns the translated label for the button

Returns:

String:

applyStyle

()

Applies or un-applies the alignment on the currently focused embed element.

isActive

() Boolean

Checks if the configured alignment is active on the focused embed element.

Returns:

Boolean:

Properties

alignment

String

The alignment to apply ('center', 'left' or 'right')

classIcon

String

The suffix of the class to use icon to set the button icon

label

String deprecated

The label that should be used for accessibility purposes. This property is deprecated, while using ButtonEmbedAlign, you 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.