API/IntegerParamOptions
IntegerParamOptions
src/types/integer-param-options.type.tstype
Options for integerParam().
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
default |
number |
The value used when the key is absent or unreadable. Without one, the param’s value is number | undefined. |
max |
number |
The largest value accepted; a larger one falls back. |
min |
number |
The smallest value accepted; a smaller one falls back. |
