Skip to content

UseCollaborationReturn

reference
1 min readUpdated

Kind: Interface

Source: atloria-monorepo/apps/web/src/hooks/useCollaboration.ts

Return value of the useCollaboration hook

Properties

PropertyType
ydoc`Y.Doc
ytext`Y.Text
awareness`awarenessProtocol.Awareness
syncedboolean
activeUsersCollaborationUser[]
connectionStatusConnectionStatus
error`Error
updateCursor(cursor: CursorPosition) => void
updateSelection(selection: SelectionRange) => void
disconnect() => void
reconnect() => void
versionnumber

Was this page helpful?

Download as PDF