How to use the @jupyterlab/apputils-extension.push function in @jupyterlab/apputils-extension

To help you get started, we’ve selected a few @jupyterlab/apputils-extension 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_app / src / browser / extensions / utils-extension / index.tsx View on Github external
let uiState = app.info.uiState;
    if (uiState == 'linux' || uiState == 'mac') {
        menu = buildNativeMenu(app);
    } else {
        menu = buildPhosphorMenu(app);
    }

    return menu;
  }
};

/**
 * Override Main Menu plugin from apputils-extension
 */
plugin[0] = nativeMainMenuPlugin;
plugin.push(serverManagerPlugin);
export default plugin;

@jupyterlab/apputils-extension

JupyterLab - Application Utilities Extension

BSD-3-Clause
Latest version published 4 days ago

Package Health Score

92 / 100
Full package analysis

Popular @jupyterlab/apputils-extension functions

Similar packages