Skip to main content

NotebookDocumentCellChange

interface

Describes a change to a notebook cell.

interface NotebookDocumentCellChange

Import

import { NotebookDocumentCellChange } from '@modular/sdk/view';

Members5

cell
NotebookCell

The affected cell.

document
TextDocument | undefined

The document of the cell or `undefined` when it did not change. *Note* that you should use the workspace.onDidChangeTextDocument onDidChangeTextDocument-event for detailed change information, like what edits have been performed.

executionSummary
NotebookCellExecutionSummary | undefined

The new execution summary of the cell or `undefined` when it did not change.

metadata
{ [key: string]: any; } | undefined

The new metadata of the cell or `undefined` when it did not change.

outputs
readonly NotebookCellOutput[] | undefined

The new outputs of the cell or `undefined` when they did not change.

Notes

see
{@link NotebookDocumentChangeEvent}