Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WorkspaceApp

A workspace app.

Hierarchy

  • Disposable
    • WorkspaceApp

Index

Constructors

Properties

Methods

Constructors

constructor

  • Creates a new Disposable calling the provided function on dispose.

    Parameters

    • callOnDispose: Function

      Function that disposes something.

    Returns WorkspaceApp

Properties

Optional button

button: StatusBarItem

The underlying button, if defined.

description

description: string

A description of the app.

detail

detail: string

Detail information.

name

name: string

The (display) name.

open

open: function

Opens the app.

returns

The promise that stores the new web view instance or (false) if operation failed.

Type declaration

    • (): Promise<Disposable | false>
    • Returns Promise<Disposable | false>

view

view: Disposable

Gets the current web view instance.

Methods

dispose

  • dispose(): any
  • Dispose this object.

    Returns any

Static from

  • from(...disposableLikes: object[]): Disposable
  • Combine many disposable-likes into one. Use this method when having objects with a dispose function which are not instances of Disposable.

    Parameters

    • Rest ...disposableLikes: object[]

      Objects that have at least a dispose-function member.

    Returns Disposable

    Returns a new disposable which, upon dispose, will dispose all provided disposables.

Generated using TypeDoc