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.
The dirty state of the model.
This should be cleared when the document is loaded from or saved to disk.
Readonly
isThe read-only state of the model.
Readonly
sharedThe shared notebook 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 interface for a document model.