A DOM context to use when evaluating any when
clauses
of menu items registered for this item.
A context key service to use when evaluating any when
clauses.
If none is provided, the global context will be used.
Controls whether to render disabled items as disabled
Defaults to true
The root menu path for which the menu is being built.
Controls whether to render disabled menu items.
Defaults to true
.
Representation of possible electron menu options.