MenuProps
Represents the props of the Kendo UI for Vue Menu component.
Definition
Package:@progress/kendo-vue-layout
Properties
Sets a component, render function, or slot name that renders trailing actions on each Menu item.
The template receives { item, itemId }. The actionsRender setting of an item overrides this setting.
className?
string
Adds a custom CSS class to the top element of the Menu.
customCloseItemIds?
string[]
Sets the ids of the Menu items that stay open when the mouse leaves them.
The ids are hierarchical and zero-based. The first root item has the 0 id.
If the first root item has children, the first child has the 0_0 id and the second child has the 0_1 id.
dir?
string
Sets the direction of the Menu. Set it to rtl to show the Menu from right to left.
hoverCloseDelay?
number
Sets the delay in milliseconds before the Menu closes an item when the mouse leaves it (see example). Use it to prevent the item from closing by accident.
100
hoverOpenDelay?
number
Sets the delay in milliseconds before the Menu opens an item when the user hovers over it (see example).
When openOnClick is true, the default value is 0.
100
itemRender?
any
Sets a Vue component, render function, or slot name that renders the innermost part of each Menu item (see example).
By default, the innermost part shows only the item text.
Sets the items of the Menu.
linkRender?
any
Sets a Vue component, render function, or slot name that renders the link of each item (see example).
The item link is the visible part of the item. By default, it shows an arrow, an icon, and the text.
onSelect?
(event: MenuSelectEvent) => void
Fires when the user selects a Menu item.
openOnClick?
boolean
When you set openOnClick to true, the Menu opens items on hover only after the user clicks an item first.
Sets the size of the Menu. The size applies to the root items and to the popup items.
The available options are:
- small
- medium
- large
vertical?
boolean
Sets if the Menu renders its items vertically (see example).
The Menu sets the aria-orientation attribute to vertical when you enable this property.
false