naive-ui/demo/documentation/components/input-number/enUS/index.demo-entry.md

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