How to use the @jupyterlab/console.IConsoleTracker function in @jupyterlab/console

To help you get started, we’ve selected a few @jupyterlab/console 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 plotly / jupyterlab-dash / lib / index.js View on Github external
app.shell.activateById(widget.id);
            }
            else if (msgData.type === 'url_request') {
                const baseUrl = coreutils_1.PageConfig.getBaseUrl();
                comm.send({ type: 'url_response', url: baseUrl });
            }
        };
    });
}
/**
 * Initialization data for the jupyterlab-dash extension.
 */
const extension = {
    id: 'jupyterlab-dash',
    autoStart: true,
    requires: [application_1.ILayoutRestorer, notebook_1.INotebookTracker, console_1.IConsoleTracker],
    activate: activate
};
exports.default = extension;