Function: useComments()
@roomful/vue / useComments
Function: useComments()
Section titled “Function: useComments()”useComments<
TPresence>(options?):UseCommentsResult
Defined in: vue/src/index.ts:1255
Subscribes to collaborative comment threads and returns the thread mutators.
Type Parameters
Section titled “Type Parameters”TPresence
Section titled “TPresence”TPresence extends PresenceData = PresenceData
The room presence shape.
Parameters
Section titled “Parameters”options?
Section titled “options?”Optional storage backend configuration.
Returns
Section titled “Returns”A readonly ref of threads plus add/reply/resolve/reopen and filter helpers.