An options object for initializing a the workspaces model.

interface IOptions {
    auto?: boolean;
    manager: Workspace.IManager;
    refreshInterval?: number;
    refreshStandby?: Standby | () => boolean | Standby;
}

Properties

auto?: boolean

Whether a to automatically loads initial list of workspaces. The default is true.

The workspaces manager.

refreshInterval?: number

The time interval for browser refreshing, in ms.

refreshStandby?: Standby | () => boolean | Standby

When the model stops polling the API. Defaults to when-hidden.