ContextMenuItem
type ContextMenuItem = object
Description
The context menu item.
Properties
- id
string
The item ID.
- text
string
The item text.
- data
string
The item data (this data will be sent to the click event callback).
- disabled
boolean
Specifies if the current item is disabled or not.
- icons
string
The item icons (see the plugins {@link /plugin/config config} documentation).
- items
ContextMenuItem[]
An array containing the context menu items for the current item.