ToolbarItemModel

12 Sep 20251 minute to read

Interface for a class ToolbarItem

Properties

align ItemAlign

Specifies the alignment of the toolbar item.

cssClass string

Specifies the CSS class for styling the toolbar item.
Represents the additional CSS classes applied to the toolbar item.

disabled boolean

Specifies whether the toolbar item is disabled.
Indicates if the toolbar item is interactive or not.

iconCss string

Specifies the CSS class for the icon of the toolbar item.
Represents the icon displayed for the toolbar item.

tabIndex number

Specifies the tab order of the toolbar items.
When assigned positive values, it allows switching focus to the next/previous toolbar items using the Tab/Shift+Tab keys.
If the value is set to 0 for all toolbar items, the tab order switches based on the element’s order in the DOM.

template string|Function

Specifies the template that defines the appearance of the toolbar item.
Represents the custom template for rendering the toolbar item, which can be a string or a function.

text string

Specifies the text of the toolbar item.
Represents the display text of the toolbar item.

tooltip string

Specifies the tooltip text for the toolbar item.
Represents the text shown when hovering over the toolbar item.

type ItemType

Specifies the type of the toolbar item.
Represents the item type of the toolbar item.

visible boolean

Specifies whether the toolbar item is visible.
Indicates if the toolbar item should be displayed.