Skip to content

Function: injectLocks()

@roomful/angular


@roomful/angular / injectLocks

injectLocks<TPresence>(): InjectLocksResult

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

Subscribes to all lock states and returns the lock engine controls.

Must be called in an injection context.

TPresence extends PresenceData = PresenceData

The room presence shape.

InjectLocksResult

The held lock states signal plus acquire/release controls.