@tempots/dom
BindNumber() function
Binds a number
property to an input element. The binding is two-way.
Signature:
BindNumber: (prop: Prop<number>, handler?: keyof typeof on) => Renderable
Parameters
Parameter |
Type |
Description |
---|---|---|
prop |
The | |
handler |
keyof typeof on |
(Optional) The event handler to use (default: 'input'). |
Returns: Renderable
A Renderable.