Readonly contentA signal emitted when the content of the model changes.
The code cell's prompt number. Will be null if the cell has not been run.
Readonly idA unique identifier for the cell.
Readonly isWhether the code cell has been edited since the last run.
Readonly isReadonly metadataThe metadata associated with the cell.
This is a copy of the metadata. Changing a part of it
won't affect the model.
As this returns a copy of all metadata, it is advised to
use getMetadata to speed up the process of getting a single key.
Readonly metadataSignal emitted when cell metadata changes.
A signal emitted when a property changes.
Readonly outputsThe cell outputs.
Readonly selectionsThe currently selected code.
Readonly sharedThe code cell shared model
Readonly stateA signal emitted when a model state changes.
Whether the cell is trusted.
Readonly typeDispose 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.
Generated using TypeDoc
The definition of a code cell.