Interface NotebookDocumentContentChange

Describes a structural change to a notebook document, e.g newly added and removed cells.

interface NotebookDocumentContentChange {
    addedCells: readonly NotebookCell[];
    range: NotebookRange;
    removedCells: readonly NotebookCell[];
}

Properties

addedCells: readonly NotebookCell[]

Cells that have been added to the document.

The range at which cells have been either added or removed.

Note that no cells have been removed when this range is empty.

removedCells: readonly NotebookCell[]

Cells that have been removed from the document.