Skip to content

Interface: InjectCursorsResult\<TCursor\>

@roomful/angular


@roomful/angular / InjectCursorsResult

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

Describes the return value of injectCursors.

TCursor extends CursorData = CursorData

The custom cursor payload shape.

cursors: Signal<CursorPosition<TCursor>[]>

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

Exposes the latest cursor positions.

mount(element): void

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

Mounts cursor tracking on an element.

HTMLElement

The element to observe.

void

Nothing.


unmount(): void

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

Unmounts cursor tracking.

void

Nothing.