Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GlobalContextMenuItemTemplate

Configuration of an option in the global context menu

Hierarchy

  • Exclude<OpenFin.MenuItemTemplate, "data">
    • GlobalContextMenuItemTemplate

Index

Properties

checked?: boolean

Should only be specified for checkbox type menu items.

enabled?: boolean

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

icon?: string

Image Data URI with image dimensions inferred from the encoded string

label?: string
role?: "copy" | "cut" | "paste" | "reload" | "toggleDevTools"
submenu?: MenuItemTemplate[]

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

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

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

visible?: boolean

If false, the menu item will be entirely hidden.

Generated using TypeDoc