Whether 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.
The type of the cell.
The changed signal.
The code cell's prompt number. Will be null if the cell has not been run.
The code cell's prompt number. Will be null if the cell has not been run.
The notebook that this cell belongs to.
The notebook that this cell belongs to.
Set the undoManager when adding new cells.
Whether the object can redo changes.
Whether the object can undo changes.
Clear the change stack.
Create a new YCodeCell that can be inserted into a YNotebook
Dispose of the resources.
Gets the cell attachments.
The cell attachments.
Get cell id.
Cell id
Returns the metadata associated with the notebook.
Notebook's metadata.
Execution, display, or stream outputs.
Gets cell's source.
Cell's source.
Redo an operation.
Sets the cell attachments
Sets the metadata associated with the notebook.
Replace all outputs.
Sets cell's source.
Serialize the model to JSON.
Perform a transaction. While the function f is called, all changes to the shared document are bundled into a single event.
Undo an operation.
Replace content from start' to
endwith
outputs`.
Replace content from start' to
endwith
value`.
Create a new YCodeCell that can be inserted into a YNotebook
Create a new YCodeCell that works standalone. It cannot be inserted into a YNotebook because the Yjs model is already attached to an anonymous Y.Doc instance.
Generated using TypeDoc
The notebook that this cell belongs to.