Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ILayoutRestorer

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

Hierarchy

Index

Properties

Methods

Properties

restored

restored: Promise<void>

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

Methods

add

  • add(widget: Widget, name: string): void
  • Add a widget to be tracked by the layout restorer.

    Parameters

    • widget: Widget
    • name: string

    Returns void

restore

  • Restore the widgets of a particular widget tracker.

    Type parameters

    • T: Widget

    Parameters

    • tracker: WidgetTracker<T>

      The widget tracker whose widgets will be restored.

    • options: IOptions<T>

      The restoration options.

    Returns Promise<any>

Generated using TypeDoc