A menu item.

interface MenuItem {
    args?: (null | string | number | boolean)[];
    checked?: boolean;
    command?: string;
    disabled?: boolean;
    group: string;
    icon?: string;
    id: string;
    keybinding?: Keybinding;
    label: string;
    order: number;
    submenu?: string;
}

Hierarchy

  • ResolvedMenuItem
    • MenuItem

Properties

args?: (null | string | number | boolean)[]
checked?: boolean
command?: string
disabled?: boolean
group: string
icon?: string
id: string
keybinding?: Keybinding
label: string
order: number
submenu?: string

Generated using TypeDoc