You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# InputNumber
|
|
|
|
|
|
|
|
- category: Components
|
|
|
|
- chinese: 数字输入框
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
通过鼠标或键盘,输入范围内的数值。
|
|
|
|
|
|
|
|
## 何时使用
|
|
|
|
|
|
|
|
- 当需要获取标准数值时。
|
|
|
|
|
|
|
|
## API
|
|
|
|
|
|
|
|
属性如下
|
|
|
|
|
|
|
|
| 成员 | 说明 | 类型 | 默认值 |
|
|
|
|
|-------------|----------------|--------------------|--------------|
|
|
|
|
| min | 最小值 | Number | -Infinity |
|
|
|
|
| max | 最大值 | Number | Infinity |
|
|
|
|
| value | 当前值 | Number | |
|
|
|
|
| step | 每次改变步数 | Number | 1 |
|
|
|
|
| defaultValue | 初始值 | Number | |
|
|
|
|
| onChange | 变化回调 | Function | |
|
|
|
|
| disabled | 禁用 | Boolean | |
|
|
|
|
| style | 根节点样式 | Object |
|