A hook that returns the instance of the CollabClient
A hook used for retrieving a users documents.
A hook that returns the currently opened Document.
Returns null if no document has been loaded.
A hook that returns an array of Users who are viewing the current document.
Returns an empty array if no users are connected, or the connected users feature is not enabled.
See this guide for more information.
A hook that returns an array of Snapshots for the currently opened document
A hook that returns the currently previewed Snapshot.
Returns null if no snapshot is being previewed
A hook that returns all the users Mentions for the current document
A hook that returns a list of available scroll sync sessions for the current document
A hook that returns the currently active scroll sync session
Returns null if no session is active
A hook that returns all the Annotations for the current document.
If no document is loaded, this hook will return an empty array.
Sort the documents on this property. Defaults to 'updatedAt'
How many documents to load when the hook is first run. If set to 'all', all the users documents will be loaded. If not set, no documents will be loaded until loadMore or loadAll is manually called.
Loads more documents for the current user
How many documents to load
Loads all the documents for the current user
A boolean representing if documents are currently being loaded
An array of loaded Documents for the current user
Sort the snapshots on this value. Defaults to 'updatedAt'
How many snapshots to initially load for the current document. If set to 'all', all the documents snapshots will be loaded. If not set, no snapshots will be loaded until loadMore or loadAll is manually called.
Loads more snapshots for the current document
How many snapshots to load
Loads all the snapshots for the current document
A boolean representing if snapshots are currently being loaded
An array of loaded Snapshots for the current user
Generated using TypeDoc
A context provider for the Collaboration Client. Place as high up in your application as possible. Accepts all of the Collaboration Client options as props.