Theia API Documentation v1.65.0
    Preparing search index...

    Representation of possible electron menu options.

    interface ElectronMenuOptions {
        context?: HTMLElement;
        contextKeyService?: ContextMatcher;
        honorDisabled?: boolean;
        showDisabled?: boolean;
    }
    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

    showDisabled?: boolean

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