Skip to content

focus

Functions

autofocus()

function autofocus<Node>(...args): void | ActionReturn<undefined | boolean, Record<never, any>>

Type Parameters

Node extends HTMLElement

Parameters

• …args: [Node, boolean]

Returns

void | ActionReturn<undefined | boolean, Record<never, any>>

Defined in

tmp/commons/src/lib/actions/focus.ts:3