Represents a cell of a {@link NotebookDocument notebook}, either a {@link NotebookCellKind.Code code}-cell or {@link NotebookCellKind.Markup markup}-cell.
NotebookCell instances are immutable and are kept in sync for as long as they are part of their notebook.
Represents a cell of a {@link NotebookDocument notebook}, either a {@link NotebookCellKind.Code code}-cell
or {@link NotebookCellKind.Markup markup}-cell.
NotebookCell instances are immutable and are kept in sync for as long as they are part of their notebook.(document notebook-cell)The {@link TextDocument text} of this cell, represented as text document.
Returns: TextDocument
The {@link TextDocument text} of this cell, represented as text document.
**Returns:** `TextDocument`(execution-summary notebook-cell)The most recent {@link NotebookCellExecutionSummary execution summary} for this cell.
Returns: NotebookCellExecutionSummary | undefined
The most recent {@link NotebookCellExecutionSummary execution summary} for this cell.
**Returns:** `NotebookCellExecutionSummary | undefined`(index notebook-cell)The index of this cell in its {@link NotebookDocument.cellAt 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.
Returns: number
The index of this cell in its {@link NotebookDocument.cellAt 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.
**Returns:** `number`(kind notebook-cell)The kind of this cell.
Returns: NotebookCellKind
The kind of this cell. **Returns:** `NotebookCellKind`
(metadata notebook-cell)The metadata of this cell. Can be anything but must be JSON-stringifyable.
Returns: { readonly [key: string]: any; }
The metadata of this cell. Can be anything but must be JSON-stringifyable.
**Returns:** `{ readonly [key: string]: any; }`(notebook notebook-cell)The {@link NotebookDocument notebook} that contains this cell.
Returns: NotebookDocument
The {@link NotebookDocument notebook} that contains this cell.
**Returns:** `NotebookDocument`(outputs notebook-cell)The outputs of this cell.
Returns: readonly NotebookCellOutput[]
The outputs of this cell. **Returns:** `readonly NotebookCellOutput[]`
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |