How to use the @jupyterlab/statusbar.RunningSessions function in @jupyterlab/statusbar

To help you get started, we’ve selected a few @jupyterlab/statusbar examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jupyterlab / jupyterlab / packages / statusbar-extension / src / index.ts View on Github external
activate: (app: JupyterFrontEnd, statusBar: IStatusBar) => {
    const item = new RunningSessions({
      onClick: () => app.shell.activateById('jp-running-sessions'),
      serviceManager: app.serviceManager
    });

    statusBar.registerStatusItem(
      '@jupyterlab/statusbar-extension:running-sessions-status',
      {
        item,
        align: 'left',
        rank: 0
      }
    );
  }
};
github jupyterlab / jupyterlab-data-explorer / packages / statusbar-extension / src / index.ts View on Github external
activate: (app: JupyterFrontEnd, statusBar: IStatusBar) => {
    const item = new RunningSessions({
      onClick: () => app.shell.activateById('jp-running-sessions'),
      serviceManager: app.serviceManager
    });

    statusBar.registerStatusItem(
      '@jupyterlab/statusbar-extension:running-sessions-status',
      {
        item,
        align: 'left',
        rank: 0
      }
    );
  }
};

@jupyterlab/statusbar

JupyterLab statusbar package.

BSD-3-Clause
Latest version published 17 days ago

Package Health Score

95 / 100
Full package analysis

Similar packages