mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-27 05:00:48 +08:00
653 B
653 B
Input Number
If you want just input number, use it.
Demos
basic
disabled
event
min-max
size
step
validator
Props
Name | Type | Default | Description |
---|---|---|---|
disabled | boolean |
false |
|
max | number |
undefined |
|
min | number |
undefined |
|
placeholder | string |
undefined |
|
size | 'small' | 'medium' | 'large' |
medium |
|
step | number |
1 |
|
theme | 'light' | 'dark' | string |
undefined |
|
validator | (value) => boolean |
undefined |
|
value | number |
null |
|
on-blur | (event: FocusEvent) => any |
undefined |
|
on-focus | (event: FocusEvent) => any |
undefined |
|
on-update:value | (value: number) => any |
undefined |