Skip to content

Function: injectComments()

@roomful/angular


@roomful/angular / injectComments

injectComments<TPresence>(options?): InjectCommentsResult

Defined in: angular/src/index.ts:1072

Subscribes to collaborative comment threads and returns the thread mutators.

Must be called in an injection context.

TPresence extends PresenceData = PresenceData

The room presence shape.

CommentsOptions

Optional storage backend configuration.

InjectCommentsResult

The threads signal plus add/reply/resolve/reopen and filter helpers.