@jupyter/ydoc
    Preparing search index...

    Class YDocument<T>Abstract

    Generic shareable document.

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index
    _changed: Signal<YDocument<T>, T> = ...
    version: string

    Document version

    • Perform a transaction. While the function f is called, all changes to the shared document are bundled into a single event.

      Parameters

      • f: () => void
      • undoable: boolean = true
      • origin: any = null

      Returns void