Interface: InjectCursorsResult\<TCursor\>
@roomful/angular / InjectCursorsResult
Interface: InjectCursorsResult<TCursor>
Section titled “Interface: InjectCursorsResult<TCursor>”Defined in: angular/src/index.ts:146
Describes the return value of injectCursors.
Type Parameters
Section titled “Type Parameters”TCursor
Section titled “TCursor”TCursor extends CursorData = CursorData
The custom cursor payload shape.
Properties
Section titled “Properties”cursors
Section titled “cursors”cursors:
Signal<CursorPosition<TCursor>[]>
Defined in: angular/src/index.ts:150
Exposes the latest cursor positions.
Methods
Section titled “Methods”mount()
Section titled “mount()”mount(
element):void
Defined in: angular/src/index.ts:158
Mounts cursor tracking on an element.
Parameters
Section titled “Parameters”element
Section titled “element”HTMLElement
The element to observe.
Returns
Section titled “Returns”void
Nothing.
unmount()
Section titled “unmount()”unmount():
void
Defined in: angular/src/index.ts:165
Unmounts cursor tracking.
Returns
Section titled “Returns”void
Nothing.