ContextMenuItemModel
23 Sep 20251 minute to read
Interface for a class ContextMenuItem
Properties
iconCss string
Specifies the CSS class for the menu item icon.
This allows for styling customization.
id string
Specifies the unique identifier of the context menu item.
items ContextMenuItemModel[]
Specifies sub-items within the context menu item.
This enables hierarchical menu structures.
separator boolean
Specifies whether this item is a separator.
If set to true, this item is displayed as a separator between menu items.
shortcut string
Specifies the keyboard shortcut for the menu item.
This allows users to trigger the menu item using a specific key combination.
text string
Specifies the display text of the context menu item.