FloatingToolbar
Represents the Kendo UI for Vue FloatingToolbar. Use the default slot for Toolbar tools.
Definition
Package:@progress/kendo-vue-buttons
Properties Interface:FloatingToolbarProps
Syntax:
<FloatingToolbar :draggable="true"><ToolbarItem><Button>Bold</Button></ToolbarItem></FloatingToolbar>
Properties
anchor?
HTMLElement
The anchor element. null or undefined enables free positioning.
appendTo?
HTMLElement
Append target. undefined uses the body; null renders inline without moving the popup.
Changing the target resets a manually positioned toolbar.
document.body
ariaLabel?
string
Accessible label of the hosted Toolbar.
buttonScrollSpeed?
number
Number of pixels scrolled by each scroll button activation.
100
className?
string
Additional classes on the inner floating element. Native class is also supported.
containerAlign?
Align
Horizontal (left, center, right) and vertical (top, center, bottom) alignment without an anchor.
{ horizontal: 'center', vertical: 'top' }
dir?
string
HTML direction: ltr or rtl.
draggable?
boolean
Shows the handle and enables pointer dragging and M-key Move mode. Arrows move 10px; Enter or Space commits, and Escape restores the previous position and anchoring.
false
fillMode?
"solid" | "outline" | "flat"
Appearance: solid, flat, or outline. Undefined uses the theme default.
Scroll buttons default to flat when no fill mode is specified.
id?
string
HTML ID on the Popup positioning container.
keyboardNavigation?
boolean
Enables the hosted Toolbar's built-in keyboard navigation.
true
margin?
{ horizontal?: number; vertical?: number }
Horizontal and vertical gap from the anchor, or inset from the free-position container, in pixels.
nextButton?
any
Next scroll button component, render function, or named template.
onDragend?
(event: FloatingToolbarDragEventBase) => void
Fires when pointer dragging or keyboard Move mode ends, including Escape cancellation.
onDragstart?
(event: FloatingToolbarDragStartEvent) => void
Fires before pointer dragging or keyboard Move mode. Call preventDefault() to cancel.
onMove?
(event: FloatingToolbarDragEventBase) => void
Fires for pointer, keyboard, and imperative position changes.
onResize?
(event: ToolbarResizeEvent) => void
Forwards the hosted Toolbar resize payload without modification, including nativeEvent.
overflow?
"none" | "scroll"
Overflow mode: none or scroll. Section overflow is not supported.
none
Preferred physical side: top, bottom, left, or right. May flip on collision.
Applies only when anchored.
top
prevButton?
any
Previous scroll button component, render function, or named template.
scrollButtons?
"hidden" | "visible" | "auto"
Scroll button visibility: auto, visible, or hidden.
auto
scrollButtonsPosition?
"split" | "end" | "start"
Scroll button placement: start, end, or split.
split
size?
"small" | "medium" | "large"
Size: small, medium, or large. Undefined uses the theme default.
style?
CSSProperties
CSS styles on the Popup positioning container.
tabIndex?
number
Tab index of the hosted Toolbar's current tool. Other tools receive -1.
0
width?
string | number
Width as a number of pixels or a CSS string, such as 50%. Undefined leaves it theme-controlled.
References
Represents the FloatingToolbar component ref.