The Y.js document.
The Y.js data structure to bind.
Optional
yjsOrigin?: symbolThe Y.js origin symbol used for binding transactions. One will be automatically generated if not provided.
Disposes the binding.
Resolves the corresponding YjsStructure for a given target node.
The bound node.
Disposes the binding.
Creates a node that is bound to a Y.js data structure. Y.js Map and Array instances are bound to MobX objects and arrays, respectively.