Toolbar
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:
<Toolbar :aria-label="'Text formatting'">
<Button :svg-icon="boldIcon" :title="'Bold'" />
<ToolbarSeparator />
<Button :svg-icon="italicIcon" :title="'Italic'" />
</Toolbar>
Properties
ariaLabel?
string
Sets the aria-label HTML attribute of the Toolbar.
buttonScrollSpeed?
number
Sets the scroll distance in pixels when the user clicks the previous or the next scroll button.
Applies when you set overflow to scroll.
100
className?
string
Sets additional CSS classes to the Toolbar.
dir?
string
Sets the dir HTML attribute of the Toolbar. Accepts ltr or rtl.
'ltr'
fillMode?
"solid" | "outline" | "flat"
Sets the fill style of the Toolbar.
The available options are:
- solid—Applies a
backgroundcolor andsolid borders. - flat—Sets a
transparent backgroundandsolid bottom border. - outline—Sets a
transparent backgroundandsolid borders.
undefined
keyboardNavigation?
boolean
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.
true
nextButton?
any
Sets a custom component that the Toolbar renders as the next scroll button.
onResize?
(event: ToolbarResizeEvent) => void
Fires when the size of the Toolbar changes. The event name is resize.
overflow?
"none" | "section" | "scroll"
Sets how the Toolbar handles tools that do not fit in the available space. Accepts none, section, or scroll.
section
prevButton?
any
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.
auto
scrollButtonsPosition?
"split" | "end" | "start"
Sets the position of the Toolbar scroll buttons.
Applies when you set overflow to scroll.
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.
undefined
tabIndex?
number
Sets the tabindex attribute of the focused tool in the Toolbar. The other tools get tabindex of -1.
0