Interface for a class ToolbarItem
ItemAlign
Specifies the alignment of the toolbar item.
string
Specifies the CSS class for styling the toolbar item. Represents the additional CSS classes applied to the toolbar item.
boolean
Specifies whether the toolbar item is disabled. Indicates if the toolbar item is interactive or not.
string
Specifies the CSS class for the icon of the toolbar item. Represents the icon displayed for the toolbar item.
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.
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.
string
Specifies the text of the toolbar item. Represents the display text of the toolbar item.
string
Specifies the tooltip text for the toolbar item. Represents the text shown when hovering over the toolbar item.
ItemType
Specifies the type of the toolbar item. Represents the item type of the toolbar item.
boolean
Specifies whether the toolbar item is visible. Indicates if the toolbar item should be displayed.