Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SaveButtonContextMenuItemTemplate

Configuration of an option in the save button context menu

Hierarchy

  • MenuItemTemplate
    • SaveButtonContextMenuItemTemplate

Index

Properties

Optional checked

checked?: boolean

Should only be specified for checkbox type menu items.

data

Optional enabled

enabled?: boolean

If false, the menu item will be greyed out and unclickable.

Optional icon

icon?: string

Image Data URI with image dimensions inferred from the encoded string

Optional label

label?: string

Optional submenu

submenu?: MenuItemTemplate[]

Should be specified for submenu type menu items. If submenu is specified, the type: 'submenu' can be omitted.

Optional type

type?: "normal" | "separator" | "submenu" | "checkbox"

Can be normal, separator, submenu, or checkbox. Defaults to 'normal' unless a 'submenu' key exists

Optional visible

visible?: boolean

If false, the menu item will be entirely hidden.

Generated using TypeDoc