New to Kendo UI for Vue? Start a free 30-day trial

Toolbar

Component

Represents the Kendo UI for Vue Toolbar component. Accepts properties of type ToolbarProps. Use the Toolbar to group buttons and other tools in one row.

Definition

Package:@progress/kendo-vue-buttons

Properties Interface:ToolbarProps

Syntax:

vue
<Toolbar :aria-label="'Text formatting'">
    <Button :svg-icon="boldIcon" :title="'Bold'" />
    <ToolbarSeparator />
    <Button :svg-icon="italicIcon" :title="'Italic'" />
</Toolbar>

Properties

Sets the aria-label HTML attribute of the Toolbar.

Sets the scroll distance in pixels when the user clicks the previous or the next scroll button. Applies when you set overflow to scroll.

Default:

100

Sets additional CSS classes to the Toolbar.

dir?

string

Sets the dir HTML attribute of the Toolbar. Accepts ltr or rtl.

Default:

'ltr'

fillMode?

"solid" | "outline" | "flat"

Sets the fill style of the Toolbar.

The available options are:

  • solid—Applies a background color and solid borders.
  • flat—Sets a transparent background and solid bottom border.
  • outline—Sets a transparent background and solid borders.
Default:

undefined

Sets whether the built-in keyboard navigation is on. When you set it to false, the user cannot move the focus between the tools with the arrow keys.

Default:

true

Sets a custom component that the Toolbar renders as the next scroll button.

Fires when the size of the Toolbar changes. The event name is resize.

Parameters:eventToolbarResizeEvent

overflow?

"none" | "section" | "scroll"

Sets how the Toolbar handles tools that do not fit in the available space. Accepts none, section, or scroll.

Default:

section

Sets a custom component that the Toolbar renders as the previous scroll button.

scrollButtons?

"hidden" | "visible" | "auto"

Sets the visibility of the Toolbar scroll buttons. Applies when you set overflow to scroll.

Default:

auto

scrollButtonsPosition?

"split" | "end" | "start"

Sets the position of the Toolbar scroll buttons. Applies when you set overflow to scroll.

Default:

split

size?

"small" | "medium" | "large"

Sets the size of the Toolbar.

The available options are:

  • small—Sets the padding of the Toolbar to 4px 4px.
  • medium—Sets the padding of the Toolbar to 8px 8px.
  • large—Sets the padding of the Toolbar to 10px 10px.
Default:

undefined

tabIndex?

number

Sets the tabindex attribute of the focused tool in the Toolbar. The other tools get tabindex of -1.

Default:

0