How to use the @jupyter-widgets/jupyterlab-manager.INBWidgetExtension function in @jupyter-widgets/jupyterlab-manager

To help you get started, we’ve selected a few @jupyter-widgets/jupyterlab-manager 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 exa-analytics / exatomic / jslab / lib / index.js View on Github external
var jupyter_exatomic = require("jupyter-exatomic");

var jupyterlab_widgets = require("@jupyter-widgets/jupyterlab-manager");

module.exports = {
    id: "jupyter.extensions.jupyter-exatomic",
    requires: [jupyterlab_widgets.INBWidgetExtension],
    activate: function(app, widgets) {
        widgets.registerWidget({
            name: "jupyter-exatomic",
            version: jupyter_exatomic.version,
            exports: jupyter_exatomic
        });
    },
    autoStart: true
};