The configuration options for layout restorer instantiation.

interface IOptions {
    connector: IDataConnector<
        ReadonlyPartialJSONValue,
        ReadonlyPartialJSONValue,
        string,
        string,
    >;
    first: Promise<any>;
    mode?: Mode;
    registry: CommandRegistry;
}

Properties

connector: IDataConnector<
    ReadonlyPartialJSONValue,
    ReadonlyPartialJSONValue,
    string,
    string,
>

The data connector used for layout saving and fetching.

first: Promise<any>

The initial promise that has to be resolved before restoration.

This promise should equal the JupyterLab application started notifier.

mode?: Mode

The DockPanel mode.

registry: CommandRegistry

The application command registry.