Construct a new document model.
Optional
options: DocumentRegistry.IModelOptions<ISharedFile>Private
_collaborationPrivate
_contentPrivate
_defaultPrivate
_dirtyPrivate
_onPrivate
_readPrivate
_stateReadonly
sharedThe shared notebook model.
Protected
standaloneWhether the model should disposed the shared model on disposal or not.
Whether the model is collaborative or not.
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.
A mime type of the model.
A signal emitted when a mimetype changes.
The read only state of the document.
The read-only state of the model.
Get the selections for the model.
A signal emitted when the document state changes.
Serialize the model to JSON.
Protected
triggerProtected
triggerTrigger a state change signal.
Generated using TypeDoc
The default implementation of a document model.