Search results

ToolbarModel

Interface for a class Toolbar

Properties

beforeCreate

EmitType<BeforeCreateArgs>

The event will be fired before the control is rendered on a page.

clicked

EmitType<ClickEventArgs>

The event will be fired on clicking the Toolbar elements.

created

EmitType<Event>

The event will be fired when the control is rendered.

destroyed

EmitType<Event>

The event will be fired when the control gets destroyed.

enablePersistence

boolean

Enable or disable persisting component’s state between page reloads.

enableRtl

boolean

Specifies the direction of the Toolbar commands. For cultures like Arabic, Hebrew, etc. direction can be switched to right to left.

height

string | number

Specifies the height of the Toolbar in pixels/number/percentage. Number value is considered as pixels.

items

ItemModel[]

An array of items that is used to configure Toolbar commands.

locale

string

Overrides the global culture and localization value for this component. Default global culture is ‘en-US’.

overflowMode

string

Specifies the Toolbar display mode when Toolbar content exceeds the viewing area. Possible modes are:

  • Scrollable: All the elements are displayed in a single line with horizontal scrolling enabled.
  • Popup: Prioritized elements are displayed on the Toolbar and the rest of elements are moved to the popup.
  • MultiRow: Displays the overflow toolbar items as an in-line of a toolbar.
  • Extended: Hide the overflowing toolbar items in the next row. Show the overflowing toolbar items when you click the expand icons. If the popup content overflows the height of the page, the rest of the elements will be hidden.

width

string | number

Specifies the width of the Toolbar in pixels/numbers/percentage. Number value is considered as pixels.