turbodombuilder - v0.9.5
    Preparing search index...

    Function deepObserveAny

    • deepObserveAny

      Parameters

      • data: YAbstractType

        The Yjs type to observe.

      • callback: (fieldChanged: string, event: YEvent, target: YAbstractType) => void

        The function to call when a matching field changes.

      • ...fieldNames: string[]

        List of field names to observe.

      Returns void

      Observes deeply for changes to any of the specified fields and invokes callback when any field changes.