Options
All
  • Public
  • Public/Protected
  • All
Menu

A notebook edit represents edits that should be applied to the contents of a notebook.

Hierarchy

  • NotebookEdit

Index

Constructors

Properties

newCellMetadata?: {}

Optional new metadata for the cells.

stubbed

Type declaration

  • [key: string]: any
newCells: NotebookCellData[]

New cells being inserted. May be empty.

stubbed
newNotebookMetadata?: {}

Optional new metadata for the notebook.

stubbed

Type declaration

  • [key: string]: any

Range of the cells being edited. May be empty.

stubbed

Methods

  • updateCellMetadata(index: number, newCellMetadata: {}): NotebookEdit
  • Utility to create an edit that update a cell's metadata.

    stubbed

    Parameters

    • index: number

      The index of the cell to update.

    • newCellMetadata: {}

      The new metadata for the cell.

      • [key: string]: any

    Returns NotebookEdit

  • updateNotebookMetadata(newNotebookMetadata: {}): NotebookEdit