Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LauncherModel

LauncherModel keeps track of the path to working directory and has a list of LauncherItems, which the Launcher will render.

Hierarchy

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Private _items

_items: IItemOptions[] = []

Readonly stateChanged

stateChanged: Signal<this, void>

A signal emitted when any model state changes.

Accessors

isDisposed

  • get isDisposed(): boolean
  • Test whether the model is disposed.

    Returns boolean

Methods

add

  • Add a command item to the launcher, and trigger re-render event for parent widget.

    Parameters

    • options: IItemOptions

      The specification options for a launcher item.

    Returns IDisposable

    A disposable that will remove the item from Launcher, and trigger re-render event for parent widget.

dispose

  • dispose(): void
  • Dispose the model.

    Returns void

items

Generated using TypeDoc