ItemModel
Interface representing the settings for an item.
Properties
align ItemAlign
Specifies the toolbar item alignment.
Default: Left
cssClass String
Specifies CSS classes to customize the appearance of the item.
Default: ""
disabled Boolean
Specifies whether an item should be disabled or not.
Default: false
htmlAttributes {:}
Specifies additional HTML attributes, such as title, styles, class, id, and name, in a key-value pair format that will be appended to the HTML element. If both the property and equivalent HTML attributes are configured, then the control overrides the property value with the HTML attributes.
Default: {}
id String
Specifies a unique id for the item which can be used to location the element.
Default: null
overflow OverflowOption
Specifies the overflow option for when the toolbar items are too large to fit available space.
Default: None
prefixIcon String
Specifies css classes to include an icon that will be displayed before the item text.
Default: null
showAlwaysInPopup Boolean
Specifies the priority of the item to always be displayed in the popup.
Default: false
showTextOn DisplayMode
Specifies where the button text will be displayed when the toolbar is in popup mode.
Default: Both
suffixIcon String
Specifies css classes to include an icon that will be displayed after the item text.
Default: null
tabIndex Number
Specifies the tab order of the toolbar item. When assigned a positive value, focus can be switched to the next/previous toolbar items with Tab or ShiftTab keys.
Default: -1
template String Function
Specifies a template used to customize the appearance of the toolbar item.
Default: ""
text String
Specifies the text to be displayed on the toolbar button.
Default: ""
tooltipText String
Specifies the text to be displayed when hovering on the toolbar button.
Default: ""
type ItemType
Specifies the toolbar item type.
Default: Button
visible Boolean
Specifies whether an item should be visible or not.
Default: true
width String Number
Specifies the width of the accordion expressed in pixels, a number, or in a percentage.
Default: auto
Methods
click EmitType<ClickEventArgs>
Event callback that is raised when an item is clicked.