Create a new notebook
The document is empty and must be populated
Internal Yjs cells list
YJS map for the notebook metadata
The changed signal.
Wether the undo/redo logic should be considered on the full document across all cells.
A signal emitted when the document is disposed.
Whether the document is disposed or not.
Signal triggered when a metadata changes.
nbformat major version
The major version number of the nbformat.
nbformat minor version
The minor version number of the nbformat.
YJS document undo manager
Returns some metadata associated with the notebook.
key is provided, it will return all metadata.
Else it will return the value for that key.
Returns a metadata associated with the notebook.
Key to get from the metadata
Sets some metadata associated with the notebook.
If only one argument is provided, it will override all notebook metadata. Otherwise a single key will be set to a new value.
All Notebook's metadata or the key to set.
Sets a metadata associated with the notebook.
The key to set.
New metadata value
Creates a standalone YNotebook
Generated using TypeDoc
Shared implementation of the Shared Document types.
Shared cells can be inserted into a SharedNotebook. Shared cells only start emitting events when they are connected to a SharedNotebook.
"Standalone" cells must not be inserted into a (Shared)Notebook. Standalone cells emit events immediately after they have been created, but they must not be included into a (Shared)Notebook.