ContextMenuProps
The props of the KendoReact ContextMenu component.
Name | Type | Default | Description |
---|---|---|---|
animate? |
|
Controls the Popup animation. jsx
| |
children? |
|
Sets the Menu items declaratively. jsx
| |
className? |
|
Adds a custom className to the Menu top element. jsx
| |
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 jsx
| |
dir? |
|
Sets the direction of the Menu. jsx
| |
id? |
|
Sets the ID of the Menu. jsx
| |
itemRender? |
|
A React 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. jsx
| |
items? |
|
Sets the Menu items. jsx
| |
linkRender? |
|
A React 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. jsx
| |
offset |
|
Specifies the absolute position of the ContextMenu. The Popover opens next to that point. Example: jsx
| |
onClose |
|
Triggers when the ContextMenu needs to hide. Example: jsx
| |
onSelect? |
|
Fires when a Menu item is selected. jsx
| |
show |
|
Controls the Popup visibility of the ContextMenu. Example: jsx
| |
style? |
|
Sets additional CSS styles to the Menu. jsx
| |
vertical? |
|
Specifies whether the Menu will be vertical (see example). jsx
|