import InlinePicker from 'react-ios-component/src/components/picker/InlinePicker.js'InlinePicker
Extends:
react~Component → InlinePicker
內联选择器
Constructor Summary
| Public Constructor | ||
| public |
constructor(props: Object, context: Object) 构造函数 |
|
Method Summary
| Public Methods | ||
| public |
render(): * |
|
Public Constructors
public constructor(props: Object, context: Object) source
构造函数
Params:
| Name | Type | Attribute | Description |
| props | Object | 组件所使用的属性 |
|
| props.optionsList | Object[] | string[] | number[] | 进行选择的数据列表 |
|
| props.labelName | string |
|
当可选择的数据列表的项是对象(obj)时, |
| props.nextName | string |
|
某个列表项的下一个选择列表数据多对应的 |
| props.selectedList | number[] |
|
当前选中的数据列表项下标组成的数组 |
| props.onChange | function | 选中某一个项时触发的函数回调 |
|
| context | Object |