PickerView
Requires:
@ray-js/ray≥0.5.10
Description
An in-page scrolling picker. Only PickerViewColumn components can be placed inside; other nodes will not be displayed.
Props
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
value | number[] | No | - | The numbers in the array indicate, in order, which item is selected in each picker-view-column within the picker-view (index starts at 0). If a number exceeds the number of options in a picker-view-column, the last item is selected. |
indicatorStyle | string | any | No | - | Set the style of the selector’s center selection box (object or CSS declaration string) |
maskStyle | string | any | No | - | Set the overlay style (object or CSS declaration string) |
| No | - | Triggered during scrolling selection | ||
| No | - | Triggered when scrolling selection starts | ||
| No | - | Triggered when scrolling selection ends |