Interface MenuAction

interface MenuAction {
    commandId: string;
    icon?: string;
    label?: string;
    order?: string;
    when?: string;
}

Properties

commandId: string

The command to execute.

icon?: string

Icon classes for the menu node. If present, these will produce an icon to the left of the label in browser-style menus.

label?: string
order?: string

Menu entries are sorted in ascending order based on their order strings. If omitted the determined label will be used instead.

when?: string