@tarojsx/ui
Version:
We reinvents the UI for Taro3+
52 lines (29 loc) • 1.12 kB
Markdown
id: "_inputnumber_.inputnumberprops"
title: "InputNumberProps"
sidebar_label: "InputNumberProps"
## Hierarchy
* object
* object
↳ **InputNumberProps**
## Index
### Properties
* [customStyle](_inputnumber_.inputnumberprops.md#optional-customstyle)
* [onChange](_inputnumber_.inputnumberprops.md#optional-onchange)
* [style](_inputnumber_.inputnumberprops.md#optional-style)
## Properties
### `Optional` customStyle
• **customStyle**? : *CSSProperties*
*Defined in [src/InputNumber.tsx:14](https://github.com/tarojsx/ui/blob/v0.11.0/src/InputNumber.tsx#L14)*
___
### `Optional` onChange
• **onChange**? : *CommonEventFunction‹object›*
*Defined in [src/InputNumber.tsx:20](https://github.com/tarojsx/ui/blob/v0.11.0/src/InputNumber.tsx#L20)*
输入框值改变时触发的事件
**`param`** 输入框当前值
**`description`** 开发者需要通过 onChange 事件来更新 value 值变化,onChange 函数必填
___
### `Optional` style
• **style**? : *CSSProperties*
*Defined in [src/InputNumber.tsx:13](https://github.com/tarojsx/ui/blob/v0.11.0/src/InputNumber.tsx#L13)*