Skip to content

@continuum-js/dom


@continuum-js/dom / bindInput

Function: bindInput()

Call Signature

bindInput(value): object

Defined in: index.tsx:906

Two-way binding props for a text input. Spread onto an <input>.

Parameters

value

StateSource<string>

Returns

object

onInput

onInput: (e) => void

Parameters
e

Event

Returns

void

value

value: State<string>

Call Signature

bindInput(value, set): object

Defined in: index.tsx:910

Two-way binding props for a text input. Spread onto an <input>.

Parameters

value

State<string>

set

(v) => void

Returns

object

onInput

onInput: (e) => void

Parameters
e

Event

Returns

void

value

value: State<string>