Counter properties
Summary
Props table
Parameter |
Type |
Default |
---|---|---|
number |
/ |
|
string |
/ |
|
boolean |
false |
|
number |
/ |
|
number |
/ |
|
(newValue: number) => void |
() => {} |
Props list
value
Type |
Default |
---|---|
number |
/ |
numeric input value
placeholder
Type |
Default |
---|---|
string |
/ |
label showed when no value is set
readOnly
Type |
Default |
---|---|
boolean |
false |
if true, component value can only be set with value
parameter
min
Type |
Default |
---|---|
number |
/ |
min allowed value
max
Type |
Default |
---|---|
number |
/ |
max allowed value
onChange
Type |
Default |
---|---|
(newValue: number) => void |
() => {} |
Callback triggered when Counter component input value is changed by the user