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

    An options object for creating a menu.

    interface BrowserMenuOptions {
        commands: CommandRegistry;
        context?: HTMLElement;
        renderer?: Menu.IRenderer;
    }

    Hierarchy (View Summary)

    Index

    Properties

    commands: CommandRegistry

    The command registry for use with the menu.

    context?: HTMLElement
    renderer?: Menu.IRenderer

    A custom renderer for use with the menu.

    The default is a shared renderer instance.