Readonly
cell_The type of the cell.
Readonly
changedThe changed signal.
Readonly
disposedA signal emitted when the object is disposed.
Readonly
idCell id.
Readonly
isReadonly
isWhether the cell is standalone or not.
If the cell is standalone. It cannot be inserted into a YNotebook because the Yjs model is already attached to an anonymous Y.Doc instance.
Readonly
metadataSignal triggered when the cell metadata changes.
Readonly
notebookThe notebook that this cell belongs to.
Text
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.
Returns all metadata associated with the cell.
Cell's metadata.
Returns a metadata associated with the cell.
Cell's metadata.
Metadata key to get
Sets some cell metadata.
Cell's metadata.
Sets a cell metadata.
Cell's metadata key.
Metadata value
Perform a transaction. While the function f is called, all changes to the shared document are bundled into a single event.
Transaction to execute
Optional
undoable: booleanWhether to track the change in the action history or not (default true
)
Optional
origin: anyGenerated using TypeDoc
Implements an API for nbformat.IBaseCell.