MenuItemModel
Represents an item that you pass to the items property of the Menu.
Definition
Package:@progress/kendo-vue-layout
Properties
Sets a component, render function, or slot name that renders trailing actions for this item before the expand arrow.
The template receives { item, itemId }. This setting overrides the actionsRender setting of the Menu.
Sets a Vue component, render function, or slot name that renders content instead of the item children (see example).
cssClass?
string
Adds custom CSS classes to the item (see example).
cssStyle?
any
Sets the CSS styles of the item (see example).
data?
any
Stores any custom data that you want to keep with the Menu item.
description?
string
Sets secondary text below the item text. The text wraps and is never cut off.
It does not depend on actionsRender. Group headers and separators ignore it.
disabled?
boolean
Sets if the item is disabled (see example).
A disabled item gets the aria-disabled attribute.
groupHeader?
boolean
Sets if the item is a group header for the items that follow it. The user cannot interact with a group header.
Sets a component, render function, or slot name that renders custom group header content.
The template receives the original item and its itemId.
Sets the child items of the item.
linkRender?
any
Sets a Vue component, render function, or slot name that renders the link of the item (see example).
The item link is the visible part of the item. By default, it shows an arrow, an icon, and the text.
popupClass?
string
Adds custom CSS classes to the popup of the item.
render?
any
Sets a Vue component, render function, or slot name that renders the innermost part of the item (see example).
By default, the innermost part shows only the item text.
separator?
boolean
Sets if the item is a separator. When you set it to true, set only the cssClass and cssStyle properties as well.
text?
string
Sets the text of the item (see example).
url?
string
Sets a URL that the Menu renders as the href attribute of the item link (see example).