UNPKG

@jupyter-notebook/application

Version:

Jupyter Notebook - Application

9 lines (8 loc) 450 B
import { Token } from '@lumino/coreutils'; /** * The INotebookPathOpener token. * The main purpose of this token is to allow other extensions or downstream applications * to override the default behavior of opening a notebook in a new tab. * It also allows passing the path as a URL search parameter, or other options to the window.open call. */ export const INotebookPathOpener = new Token('@jupyter-notebook/application:INotebookPathOpener');