Skip to content

Interface: InjectAwarenessResult

@roomful/angular


@roomful/angular / InjectAwarenessResult

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

Describes the return value of injectAwareness.

others: Signal<AwarenessState[]>

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

Exposes remote awareness state only.


set: (value) => void

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

Merges arbitrary awareness metadata into the local peer.

Merges arbitrary awareness metadata into the local peer. Merges into the existing value.

Record<string, unknown>

The awareness fields to merge.

void

Nothing.


setFocus: (elementId) => void

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

Updates the local focus target.

Updates the local focus target.

The focused element identifier, or null to clear it.

string | null

void

Nothing.


setSelection: (selection) => void

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

Updates the local selection.

Updates the local text selection.

The active selection, or null to clear it.

AwarenessSelection | null

void

Nothing.


setTyping: (isTyping) => void

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

Updates the local typing state.

Updates the local typing state.

boolean

Whether the local peer is currently typing.

void

Nothing.