Picker
Example
More examples please refer Demo
API
Picker
Attribute | Description | Type | Default |
---|---|---|---|
colums | Columns data |
| - |
showToolbar | Whether to show toolbar |
|
|
toolbarPosition | Toolbar position, cat be set to |
|
|
title | Top Bar Title |
| - |
loading | whether to show loading status |
|
|
itemHeight | Option height |
|
|
confirmButtonText | Confirm Button Text |
|
|
cancelButtonText | Cancel Button Text |
|
|
defaultIndex | Default value index of the picker | `int | List` |
level | Number of columns for multi-column picker |
|
|
onCancel | Triggered when click cancel button |
| - |
onConfirm | Triggered when click confirm button |
| - |
onChange | triggered when current option is changed |
| - |
PickerItem
Attribute | Description | Type | Default |
---|---|---|---|
text | Picker Item Text |
| - |
child | Picker Item Columns |
| - |
Last updated