ToolbarModel

Interface representing the Toolbar class.

Properties

allowKeyboard Boolean

Specifies whether to allow keyboard interaction.

Default: true

cssClass String

Specifies CSS classes to customize the appearance of the control.

Default: ""

enableCollision Boolean

Specifies whether to enable or disable popup collision.

Default: true

enableHtmlSanitizer Boolean

Specifies whether to allow the rendering of untrusted HTML and JavaScript values withing the control. When true, any untrusted strings or scripts will be remote before rendering.

Default: true

enableRtl Boolean

Specifies whether to render the control in right to left direction.

Default: false

enableState Boolean

Specifies whether to persist the state of the control between page loads.

No properties are saved to state at this time.

Default: false

height String Number

Specifies the height of the toolbar expressed in pixels, a number, or in a percentage.

Default: auto

heightAdjustMode HeightAdjustMode

Specifies the height adjustment mode of the tab content.

Default: Content

items ItemModel[]

Specifies the list of items to be displayed in the toolbar.

Default: []

locale String

Specifies the culture and localization value for this control, overriding the globally defined value.

Default: en-US

overflowMode OverflowMode

Specifies the overflow mode of the toolbar items when it exceeds the viewing area.

Default: Scrollable

scrollStep Number

Specifies the scrolling step distance of the scroller.

Default: null

width String Number

Specifies the width of the control. By default, the width of the control is determined by its parent container. Value can be expressed in percent or pixels.

Default: 100%

Events

beforeCreate EmitType<BeforeCreateArgs>

Event callback that is raised after the tab has been added.

clicked EmitType<ClickEventArgs>

Event callback that is raised when a toolbar item is clicked.

created EmitType<CreatedEventArgs>

Event callback that is raised when the control has been created.

destroyed EmitType<Object>

Event callback that is raised when the control has been destroyed.