Skip to content

focusTrap

Functions

focusTrap()

function focusTrap(node, enabled): object

Parameters

node: HTMLElement

enabled: boolean

Returns

object

destroy()
Returns

void

update()
Parameters

newArgs: boolean

Returns

void

Defined in

tmp/commons/src/lib/actions/focusTrap.ts:4