Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a cell of a notebook, either a code-cell or markup-cell.

NotebookCell instances are immutable and are kept in sync for as long as they are part of their notebook.

层级

  • NotebookCell

索引

Properties(7)

Readonly index

index: number

The index of this cell in its containing notebook. The index is updated when a cell is moved within its notebook. The index is -1 when the cell has been removed from its notebook.

Readonly notebook

The notebook that contains this cell.

Readonly kind

The kind of this cell.

Readonly document

document: TextDocument

The text of this cell, represented as text document.

Readonly metadata

metadata: {}

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

Type declaration

  • [key: string]: any

Readonly outputs

outputs: readonly NotebookCellOutput[]

The outputs of this cell.

Optional Readonly executionSummary

The most recent execution summary for this cell.

友链:VS Code 中文文档 | VS Code 官网文档 | VS Code 扩展市场

Generated by TypeDoc. Maintained by 洛竹