Methods
addItem
- addItem(id: string | null, name: string, func: function, icon?: undefined | string, index?: undefined | number): PluginContextMenuItem
-
Parameters
-
id: string | null
-
name: string
-
func: function
-
Optional icon: undefined | string
-
Optional index: undefined | number
addMenu
- addMenu(id: string | null, name: string, icon?: undefined | string, index?: undefined | number): PluginContextMenu
-
Parameters
-
id: string | null
-
name: string
-
Optional icon: undefined | string
-
Optional index: undefined | number
addSeparator
- addSeparator(index: number): void
hasItemById
- hasItemById(id: string): boolean
-
Parameters
Returns boolean
setVisible
- setVisible(visible: boolean): void
Builder context menu descriptor.