@emanon/ema-numberinput
v0.3.2
Published
## Overall Used for to input a number value.
Downloads
36
Readme
ema-numberinput
Overall
Used for to input a number value.
Properties
| Property | Attribute | Type | Default |
|--------------|--------------|----------------------|--------------------|
| appearance
| appearance
| "box" \| "line"
| "box" |
| disabled
| disabled
| boolean
| false |
| error
| error
| string
| "" |
| label
| label
| string
| "" |
| max
| max
| number
| "MAX_SAFE_INTEGER" |
| min
| min
| number
| 0 |
| readonly
| readonly
| boolean
| false |
| required
| required
| boolean
| false |
| size
| size
| "large" \| "small"
| "small" |
| step
| step
| number
| 1 |
| value
| value
| string
| "0" |
Events
| Event | Type | Description |
|------------------|-----------------------------------|----------------------------------------|
| request-submit
| CustomEvent<{}>
| Fires when submitted. |
| value-change
| CustomEvent<{ value: string; }>
| Fires when the input value has chaged. |