Interface IOptions

An options object for creating a menu.

interface IOptions {
    commands: CommandRegistry;
    renderer?: Menu.IRenderer;
}

Properties

Properties

commands: CommandRegistry

The command registry for use with the menu.

renderer?: Menu.IRenderer

A custom renderer for use with the menu.

The default is a shared renderer instance.