Readonly
cellsThe list of cells in the notebook.
Optional
Readonly
collaborativeWhether this document model supports collaboration when the collaborative
flag is enabled globally. Defaults to false
.
A signal emitted when the document content changes.
Readonly
defaultThe default kernel language of the document.
Readonly
defaultThe default kernel name of the document.
Readonly
deletedThe array of deleted cells since the notebook was last run.
The dirty state of the model.
This should be cleared when the document is loaded from or saved to disk.
Readonly
isReadonly
metadataThe metadata associated with the notebook.
This is a copy of the metadata. Changing a part of it
won't affect the model.
As this returns a copy of all metadata, it is advised to
use getMetadata
to speed up the process of getting a single key.
Readonly
metadataSignal emitted when notebook metadata changes.
Readonly
nbformatThe major version number of the nbformat.
Readonly
nbformatThe minor version number of the nbformat.
The read-only state of the model.
Readonly
sharedShared model
A signal emitted when the model state changes.
Dispose of the resources held by the object.
If the object's dispose
method is called more than once, all
calls made after the first will be a no-op.
It is undefined behavior to use any functionality of the object after it has been disposed unless otherwise explicitly noted.
Serialize the model to JSON.
The definition of a model object for a notebook widget.