The type of the cell.
The changed signal.
The code cell's prompt number. Will be null if the cell has not been run.
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.
Whether the object can undo changes.
Whether the object can redo changes.
Clear the change stack.
Create a new YCodeCell that can be inserted into a YNotebook.
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.
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 metadata associated with the notebook.
Add/Update output.
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`.
Generated using TypeDoc
Implements an API for nbformat.ICodeCell.