Context Menu class
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
Method to hide spell context items
Returns void