NotebookDocument$Typings extension

on

Properties

cellAt NotebookCell Function(num)
getter/setter pair
cellCount num
The number of cells in the notebook.
no setter
getCells List<NotebookCell> Function([NotebookRange?])
getter/setter pair
isClosed bool
true if the notebook has been closed. A closed notebook isn't synchronized anymore and won't be re-used when the same resource is opened again.
no setter
isDirty bool
true if there are unpersisted changes.
no setter
isUntitled bool
Is this notebook representing an untitled file which has not been saved yet.
no setter
metadata Object
Arbitrary metadata for this notebook. Can be anything but must be JSON-stringifyable.
no setter
notebookType String
The type of notebook.
no setter
save Future Function()
getter/setter pair
uri Uri
The associated uri for this notebook.
no setter
version num
The version number of this notebook (it will strictly increase after each change, including undo/redo).
no setter