Companion

Functions

Link copied to clipboard
external fun deleteCells(range: NotebookRange): NotebookEdit

Utility to create an edit that deletes cells in a notebook.

Link copied to clipboard
external fun insertCells(index: Int, newCells: ReadonlyArray<NotebookCellData>): NotebookEdit

Utility to create an edit that replaces cells in a notebook.

Link copied to clipboard

Utility to create a edit that replaces cells in a notebook.

Link copied to clipboard
external fun updateCellMetadata(index: Int, newCellMetadata: ReadonlyRecord<JsString, *>): NotebookEdit

Utility to create an edit that update a cell's metadata.

Link copied to clipboard
external fun updateNotebookMetadata(newNotebookMetadata: ReadonlyRecord<JsString, *>): NotebookEdit

Utility to create an edit that updates the notebook's metadata.