Construct a new code cell with optional original cell content.
Private _executedPrivate _isPrivate _outputsReadonly contentA signal emitted when the state of the model changes.
Readonly sharedThe code cell shared model
Protected standaloneWhether the model should disposed the shared model on disposal or not.
Readonly stateA signal emitted when a model state changes.
The execution count of the cell.
The code cell's prompt number. Will be null if the cell has not been run.
The id for the cell.
Whether the cell is dirty or not.
A cell is dirty if it is output is not empty and does not result of the input code execution.
Public Set whether the cell is dirty or not.
Whether the model is disposed.
The metadata associated with the cell.
Signal emitted when cell metadata changes.
A mime type of the model.
A signal emitted when a mimetype changes.
The cell outputs.
Get the selections for the model.
The trusted state of the model.
Whether the cell is trusted.
The type of the cell.
Private _onHandle a change to the code cell value.
Private _setProtected onProtected onHandle a change to the cell outputs modelDB and reflect it in the shared model.
Handle a change to the trusted state.
An implementation of a code cell Model.