Readonly
contentsThe document metadata, stored as a services contents model.
This will be null until the context is 'ready'. Since we only store
metadata here, the content
attribute is removed.
A signal emitted when the context is disposed.
A signal emitted when the contentsModel changes.
Readonly
isReadonly
isWhether the context is ready.
Configurable margin used to detect document modification conflicts, in milliseconds
Readonly
localThe current local path associated with the document. If the document is in the default notebook file browser, this is the same as the path.
Readonly
modelThe data model for the document.
Readonly
pathThe current path associated with the document.
A signal emitted when the path changes.
Readonly
readyA promise that is fulfilled when the context is ready.
A signal emitted on the start and end of a saving operation.
Readonly
sessionThe session context object associated with the context.
Readonly
urlThe url resolver for the context.
Add a sibling widget to the document manager.
The widget to add to the document manager.
Optional
options: 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.
The document context object.