UNPKG

@tarojsx/ui

Version:

We reinvents the UI for Taro3+

38 lines (23 loc) 885 B
--- id: "_inputnumber_" title: "InputNumber" sidebar_label: "InputNumber" --- ## Index ### Interfaces * [InputNumberProps](../interfaces/_inputnumber_.inputnumberprops.md) ### Functions * [InputNumber](_inputnumber_.md#const-inputnumber) ## Functions ### `Const` InputNumber **InputNumber**(`props`: [InputNumberProps](../interfaces/_inputnumber_.inputnumberprops.md)‹› & object): *Element‹›* *Defined in [src/InputNumber.tsx:45](https://github.com/tarojsx/ui/blob/v0.11.0/src/InputNumber.tsx#L45)* 数字输入框 - "+" "-" step 加减数字. - 手动输入数字时调起数字(number)或小数(digit)键盘, 默认距离键盘50px. - 失去光标时强制格式化数字. **Parameters:** Name | Type | ------ | ------ | `props` | [InputNumberProps](../interfaces/_inputnumber_.inputnumberprops.md)‹› & object | **Returns:** *Element‹›*