Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LegacyAPI

Interface that contains functions that aid in recovering legacy features of Workspace.

Hierarchy

  • LegacyAPI

Index

Methods

getPages

  • getPages(): Promise<Page[]>
  • Get the pages that a user had saved in a legacy version of Workspace. (pre 5.0.0)

    import { Legacy } from "@openfin/workspace";

    async logPages() {
    const pages = await Legacy.getPages();
    console.log(pages);
    }

    logPages();

    Returns Promise<Page[]>

getWorkspaces

  • Get the workspaces that a user had saved in a legacy version of Workspace. (pre 5.0.0)

    import { Legacy } from "@openfin/workspace";

    async logWorkspaces() {
    const workspaces = await Legacy.getWorkspaces();
    console.log(workspaces);
    }

    logWorkspaces();

    Returns Promise<Workspace[]>

Generated using TypeDoc