Datalayer VS Code Extension - v0.0.17
    Preparing search index...

    Minimal notebook model interface matching JupyterLab INotebookModel.

    interface NotebookModel {
        cells: {
            changed: SignalConnection<(list: unknown, change: unknown) => void>;
            get: (index: number) => CellModel;
            length: number;
        };
        sharedModel: { changed: SignalConnection<() => void> };
    }
    Index

    Properties

    Properties

    cells: {
        changed: SignalConnection<(list: unknown, change: unknown) => void>;
        get: (index: number) => CellModel;
        length: number;
    }

    Cell list with indexed access and change notification.

    Type Declaration

    • changed: SignalConnection<(list: unknown, change: unknown) => void>

      Signal emitted when cells are added, removed, or reordered.

    • get: (index: number) => CellModel

      Returns the cell model at the given index.

    • length: number

      Number of cells in the notebook.

    sharedModel: { changed: SignalConnection<() => void> }

    Shared model providing document-level change signals.

    Type Declaration

    • changed: SignalConnection<() => void>

      Signal emitted when the shared model changes.