OptionalcanWhether the document can be saved via the Contents API.
ReadonlycontentsA signal emitted when the context is disposed.
A signal emitted when the contentsModel changes.
ReadonlyisReadonlyisWhether the context is ready.
Configurable margin used to detect document modification conflicts, in milliseconds
ReadonlylocalThe current local path associated with the document. If the document is in the default notebook file browser, this is the same as the path.
ReadonlymodelThe data model for the document.
ReadonlypathThe current path associated with the document.
A signal emitted when the path changes.
ReadonlyreadyA promise that is fulfilled when the context is ready.
A signal emitted on the start and end of a saving operation.
ReadonlysessionThe session context object associated with the context.
ReadonlyurlThe url resolver for the context.
Add a sibling widget to the document manager.
The widget to add to the document manager.
Optionaloptions: IOpenOptionsThe desired options for adding the sibling.
A disposable used to remove the sibling if desired.
It is assumed that the widget has the same model and context as the original widget.
Create a checkpoint for the file.
A promise which resolves with the new checkpoint model when the checkpoint is created.
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.
List available checkpoints for the file.
A promise which resolves with a list of checkpoint models for the file.
Restore the file to a known checkpoint state.
OptionalcheckpointID: stringThe optional id of the checkpoint to restore, defaults to the most recent checkpoint.
A promise which resolves when the checkpoint is restored.
The document context object.