Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ElectronMenuOptions

Representation of possible electron menu options.

Hierarchy

  • ElectronMenuOptions

Index

Properties

context?: HTMLElement

A DOM context to use when evaluating any when clauses of menu items registered for this item.

contextKeyService?: ContextMatcher

A context key service to use when evaluating any when clauses. If none is provided, the global context will be used.

honorDisabled?: boolean

Controls whether to render disabled items as disabled Defaults to true

rootMenuPath: MenuPath

The root menu path for which the menu is being built.

showDisabled?: boolean

Controls whether to render disabled menu items. Defaults to true.