Optional
checkedOptional
dataOptional
enabledIf false, the menu item will be greyed out and unclickable.
Optional
iconImage Data URI with image dimensions inferred from the encoded string
Optional
labelOptional
roleOptional
submenuShould be specified for submenu
type menu items. If submenu
is specified,
the type: 'submenu'
can be omitted.
Optional
typeCan be normal
, separator
, submenu
, or checkbox
.
Defaults to 'normal' unless a 'submenu' key exists
Optional
visibleIf false, the menu item will be entirely hidden.
Should only be specified for
checkbox
type menu items.