Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ILayoutRestorer<T, U, V>

A static class that restores the widgets of the application when it reloads. The layout restorer token.

Type parameters

  • T: IRestorable<U>

  • U: IObservableDisposable

  • V

Hierarchy

  • IRestorer
    • ILayoutRestorer

Implemented by

Index

Interfaces

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<T>(tracker: WidgetTracker<T>, options: IOptions<T>): Promise<any>
  • 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