NotebookDocument$Typings extension

on

Properties

cellAt NotebookCell Function(num)

Available on NotebookDocument, provided by the NotebookDocument$Typings extension

getter/setter pair
cellCount num

Available on NotebookDocument, provided by the NotebookDocument$Typings extension

The number of cells in the notebook.
no setter
getCells List<NotebookCell> Function([NotebookRange?])

Available on NotebookDocument, provided by the NotebookDocument$Typings extension

getter/setter pair
isClosed bool

Available on NotebookDocument, provided by the NotebookDocument$Typings extension

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

Available on NotebookDocument, provided by the NotebookDocument$Typings extension

true if there are unpersisted changes.
no setter
isUntitled bool

Available on NotebookDocument, provided by the NotebookDocument$Typings extension

Is this notebook representing an untitled file which has not been saved yet.
no setter
metadata Object

Available on NotebookDocument, provided by the NotebookDocument$Typings extension

Arbitrary metadata for this notebook. Can be anything but must be JSON-stringifyable.
no setter
notebookType String

Available on NotebookDocument, provided by the NotebookDocument$Typings extension

The type of notebook.
no setter
save Future Function()

Available on NotebookDocument, provided by the NotebookDocument$Typings extension

getter/setter pair
uri Uri

Available on NotebookDocument, provided by the NotebookDocument$Typings extension

The associated uri for this notebook.
no setter
version num

Available on NotebookDocument, provided by the NotebookDocument$Typings extension

The version number of this notebook (it will strictly increase after each change, including undo/redo).
no setter