interface IMenubarCheckboxItem {
    checked: boolean;
    name: string | ((args: any) => string);
    type: "CheckboxItem";
    action?: string | (() => void);
    disabled?: boolean;
    resolver?: string | (() => void);
    shortcut?: string;
}

Hierarchy

  • IMenubarItemPrimitive
    • IMenubarCheckboxItem

Properties

checked: boolean
name: string | ((args: any) => string)
type

The type of the item.

action?: string | (() => void)

The action to be executed when the item is clicked. Can be a function or a string that represents a handler in the component.

disabled?: boolean

Whether the item is disabled or not.

resolver?: string | (() => void)

The resolver function or reference to be used to get the value of the item.

shortcut?: string

The shortcut to be displayed in the item.