NotebookCellData

NotebookCellData is the raw representation of notebook cells. Its is part of NotebookData.

Online Documentation

Constructors

Link copied to clipboard
constructor(kind: NotebookCellKind, value: String, languageId: String)

Create new cell data. Minimal cell data specifies its kind, its source value, and the language identifier of its source.

Properties

Link copied to clipboard

The execution summary of this cell data.

Link copied to clipboard
external var kind: NotebookCellKind

The kind of this cell data.

Link copied to clipboard
external var languageId: String

The language identifier of the source value of this cell data. Any value from languages.getLanguages is possible.

Link copied to clipboard
external var metadata: ReadonlyRecord<JsString, *>?

Arbitrary metadata of this cell data. Can be anything but must be JSON-stringifyable.

Link copied to clipboard

The outputs of this cell data.

Link copied to clipboard
external var value: String

The source value of this cell data - either source code or formatted text.