new Notebook()
Methods
-
static getPromise() → {Promise}
-
Returns a new promise
-
static getTarget() → {element}
-
Returns the first DIV element that's a child of the document body. If none exists then one will be created.
Returns:
element -
async, static import(url, cellIndexopt)
-
Fetch and return the content of a notebook or a particular cell in a notebook
Parameters:
Name Type Attributes Description url
string The URL of the notebook to import
cellIndex
number <optional>
The index of the cell to import
-
static show(contents, config)
-
Parameters:
Name Type Description contents
* config
*