Interface ILayoutRestorer

A static class that restores the widgets of the application when it reloads.

interface ILayoutRestorer {
    restored: Promise<void>;
    add(widget: Widget, name: string): void;
    restore<T extends Widget>(
        tracker: WidgetTracker<T>,
        options: IRestorer.IOptions<T>,
    ): Promise<any>;
}

Hierarchy (View Summary)

Implemented by

Properties

Methods

Properties

restored: Promise<void>

A promise resolved when the layout restorer is ready to receive signals.

Methods