| id |
picker |
| title |
Picker |
| layout |
docs |
| category |
components |
| permalink |
docs/picker.html |
| next |
picker-item |
| previous |
navigatorios |
Renders the native picker component on Tizen. Example:
<Picker
selectedValue={this.state.language}
onValueChange={(itemValue, itemIndex) => this.setState({language: itemValue})}>
<Picker.Item label="Java" value="java" />
<Picker.Item label="JavaScript" value="js" />
</Picker>
Callback for when an item is selected. This is called with the following parameters:
itemValue: the value prop of the item that was selected
itemPosition: the index of the selected item in this picker
| Type |
Required |
| function |
No |
If set to false, the picker will be disabled, i.e. the user will not be able to make a
selection.
| Type |
Required |
Platform |
| bool |
No |
Android |
Style to apply to each of the item labels.
| Type |
Required |
Platform |
| style |
No |
iOS |