Construct a new notebook model.
Make sure we have the required metadata fields.
A mutex to update the shared model.
Handle a change in the cells list.
The cell model factory for the notebook.
The underlying IModelDB
instance in which model
data is stored.
The shared notebook model.
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 model.
This should be cleared when the document is loaded from or saved to disk.
Whether the model is disposed.
If the model is initialized or not.
The metadata associated with the notebook.
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 model.
A signal emitted when the document state changes.
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.