An options object for creating an application.

interface IOptions<T> {
    contextMenuRenderer?: Menu.IRenderer;
    shell: T;
}

Type Parameters

Properties

contextMenuRenderer?: Menu.IRenderer

A custom renderer for the context menu.

shell: T

The shell widget to use for the application.

This should be a newly created and initialized widget.

The application will attach the widget to the DOM.