Picker
A bottom sheet with scrollable columns: single, multi, date, and time.
Examples
CityBeijing ›
DateTap to choose ›
TimeTap to choose ›
API
Props
| 属性 | 说明 | 类型 | 默认值 |
|---|---|---|---|
mode | Picker type | selector | multi | date | time | selector |
range | Options as a JSON string | string (json) | [] |
value | Current selection | string | - |
start | Start of valid range (date mode) | string | - |
end | End of valid range (date mode) | string | - |
disabled | Whether disabled | boolean | false |
Events
| 属性 | 说明 | 类型 | 默认值 |
|---|---|---|---|
change | Fired when a value is confirmed | { value } | - |
cancel | Fired when the picker is cancelled | - | - |