@emanon/ema-numberinput
0.3.2 • Public • Published
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. |
Readme
Keywords
nonePackage Sidebar
Install
npm i @emanon/ema-numberinput
Weekly Downloads