Construct a new notebook model.
Make sure we have the required metadata fields.
Handle a change in the cells list.
The cell model factory for the notebook.
The underlying IModelDB
instance in which model
data is stored.
Get the observable list of notebook cells.
A signal emitted when the document content changes.
The default kernel language of the document.
The default kernel name of the document.
A list of deleted cells for the notebook..
The dirty state of the document.
The dirty state of the document.
Whether the model is disposed.
The metadata associated with the notebook.
A mime type of the model.
A mime type of the model.
A signal emitted when a mimetype changes.
The major version number of the nbformat.
The minor version number of the nbformat.
The read only state of the document.
The read only state of the document.
Get the selections for the model.
A signal emitted when the document state changes.
Get the value of the model.
Dispose of the resources held by the model.
Initialize the model with its current state.
Adds an empty code cell if the model is empty and clears undo state.
Serialize the model to JSON.
Serialize the model to a string.
Trigger a content changed signal.
Trigger a state change signal.
Generated using TypeDoc
An implementation of a notebook Model.