Interface ContextMenuEntryInterface

A context menu entry with a name and an icon that invokes the callback function when clicked.

interface ContextMenuEntryInterface {
    callback: Function;
    icon: string;
    key?: string;
    name: string;
}

Properties

Properties

callback: Function

Specifies the callback to execute if clicked on

icon: string

Specifies the icon class to set for the item

key?: string

Key for the entry, only one entry is shown per unique key

name: string

Specify the human readable name of the command in the menu. This is used as the label for the option

Generated using TypeDoc