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

    Return value from the useNotebookModel hook.

    interface UseNotebookModelResult {
        getNotebookData: (fallbackNbformat?: unknown) => Uint8Array;
        handleNotebookModelChanged: (notebookModel: unknown) => void;
        markClean: () => void;
        notebookModel: unknown;
    }
    Index

    Properties

    getNotebookData: (fallbackNbformat?: unknown) => Uint8Array

    Serializes the current notebook content to nbformat bytes.

    handleNotebookModelChanged: (notebookModel: unknown) => void

    Updates the tracked notebook model when the editor swaps models.

    markClean: () => void

    Resets the dirty state after a successful save.

    notebookModel: unknown

    The current JupyterLab notebook model reference.