Readonly
awarenessDocument awareness
Readonly
changedThe changed signal.
Readonly
disposedA signal emitted when the object is disposed.
Readonly
isReadonly
stateDocument state
Readonly
versionDocument version
Dispose of the resources held by the object.
If the object's dispose
method is called more than once, all
calls made after the first will be a no-op.
It is undefined behavior to use any functionality of the object after it has been disposed unless otherwise explicitly noted.
Perform a transaction. While the function f is called, all changes to the shared document are bundled into a single event.
Transaction to execute
Optional
undoable: booleanWhether to track the change in the action history or not (default true
)
Optional
origin: anyGenerated using TypeDoc
Implement an API for Context information on the shared information. This is used by, for example, docregistry to share the file-path of the edited content.