ContextMenuProps
Represents the props of the ContextMenu component.
| Name | Type | Default | Description |
|---|---|---|---|
className? |
|
Adds a custom className to the Menu top element. | |
customCloseItemIds? |
|
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 | |
dir? |
|
Sets the direction of the Menu. | |
itemRender? |
|
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? |
|
Sets the Menu items. | |
linkRender? |
|
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? |
|
Sets the absolute position of the ContextMenu popup. | |
onClose? |
|
Fires when the ContextMenu should close. | |
onSelect? |
|
Fires when a Menu item is selected. | |
show? |
|
Controls the visibility of the ContextMenu. | |
vertical? |
|
Specifies whether the Menu will be vertical (see example). |