New to Kendo UI for VueStart a free 30-day trial

ContextMenuProps

Updated on Apr 23, 2026

Represents the props of the ContextMenu component.

NameTypeDefaultDescription

className?

string

Adds a custom className to the Menu top element.

customCloseItemIds?

string[]

Sets the ids of the Menu items that will not be closed on mouse-leave. The ids are hierarchical and zero-based. The first root item has a 0 id. If the first root item has children, the first child item acquires a 0_0 id and the second acquires a 0_1 id.

dir?

string

Sets the direction of the Menu.

itemRender?

any

A Vue functional or class component which is used for rendering the innermost part of the Menu item (see example). By default, the innermost item part includes only the text for the item.

items?

MenuItemModel[]

Sets the Menu items.

linkRender?

any

A Vue functional or class component which is used for rendering the link of the item (see example). The item link is a part of the visual representation of the item which, by default, includes an arrow, icon, and text.

offset?

Offset

Sets the absolute position of the ContextMenu popup.

onClose?

() => void

Fires when the ContextMenu should close.

onSelect?

(event: MenuSelectEvent) => void

Fires when a Menu item is selected.

show?

boolean

Controls the visibility of the ContextMenu.

vertical?

boolean

Specifies whether the Menu will be vertical (see example).

Not finding the help you need?
Contact Support