Parameters
| Property | Type | Required | Description |
|---|---|---|---|
| title | String | No | Selector title |
| list | Array | Yes | Hierarchical data array |
| success | Function | No | Callback with selection |
| fail | Function | No | Callback on failure |
| complete | Function | No | Callback that always executes |
Success Callback
| Property | Type | Description |
|---|---|---|
| success | Boolean | Whether selection was successful |
| result | Array | Selected items array |
Code Example
Related APIs
my.datePicker
Date picker