Function: usePointer()
@roomful/vue / usePointer
Function: usePointer()
Section titled “Function: usePointer()”usePointer<
TPresence>(options?):UsePointerResult
Defined in: vue/src/index.ts:1072
Subscribes to remote pointer beams and returns mounting and control helpers.
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?”PointerOptions
Optional pointer tracking configuration.
Returns
Section titled “Returns”The remote beams plus a mounting ref and activate/deactivate/render controls.