ContextMenu
12 Sep 20251 minute to read
Context Menu class
Methods
addCustomMenu
To add and customize custom context menu
| Parameter | Type | Description |
|---|---|---|
| items | MenuItemModel[] |
To add custom menu item |
| isEnable (optional) | boolean |
To hide existing menu item and show custom menu item alone |
| isBottom (optional) | boolean |
To show the custom menu item in bottom of the existing item |
Returns void
hideSpellContextItems
Method to hide spell context items
Returns void