Class YDocument<T>Abstract

Generic shareable document.

Type Parameters

Hierarchy

Implements

Constructors

Properties

_awareness: Awareness
_changed: Signal<YDocument<T>, T> = ...
_disposed: Signal<YDocument<T>, void> = ...
_isDisposed: boolean = false
_undoManager: UndoManager
_ydoc: Doc
_ystate: YMap<any>
version: string

Document version

Accessors

Methods

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

    Parameters

    • f: (() => void)
        • (): void
        • Returns void

    • undoable: boolean = true

    Returns void

Generated using TypeDoc