Aller au contenu

inputs

Ce contenu n’est pas encore disponible dans votre langue.

Functions

autosize()

function autosize<Node>(...args): void | ActionReturn<unknown, Record<never, any>>

Action to make a textarea autosize.

A parameter can be passed to the action to trigger an update when it changes.

Type Parameters

Node extends HTMLTextAreaElement

Parameters

• …args: [Node, unknown]

Returns

void | ActionReturn<unknown, Record<never, any>>

Defined in

tmp/commons/src/lib/actions/inputs.ts:11


checkbox()

function checkbox<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/inputs.ts:48