The definition of a model object for a cell.
A signal emitted when the content of the model changes.
A unique identifier for the cell.
Test whether the object has been disposed.
This property is always safe to access.
The metadata associated with the cell.
A mime type of the model.
It is never
null, the default mime type is
A signal emitted when a property changes.
IModelDB instance in which model
data is stored.
The currently selected code.
A signal emitted when the shared model was switched.
A signal emitted when a model state changes.
Whether the cell is trusted.
The type of the cell.
The text stored in the model.
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.
When we initialize a cell model, we create a standalone cell model that cannot be shared in a YNotebook. Call this function to re-initialize the local representation based on a fresh shared model (e.g. models.YFile or models.YCodeCell).
Serialize the model to JSON.
Generated using TypeDoc