# picker-view

Start from base library version 1.0.0. Please remaining backward compatible.

Embed the page's scroll selector. Which can only be placed picker-view-column Other nodes are not displayed.

attribute type Default value Required Introductions Minimum version
value Array.&ltnumber&gt no The numbers in the array are represented sequentially picker-view Inner picker-view-column Selected items (subscript from 0 Start), the number is greater than picker-view-column Optional length, select the last item. 1.0.0
indicator-style string no Set the style of the checkbox in the middle of the selector 1.0.0
indicator-class string no Set the class name of the middle checkbox in the selector 1.1.0
mask-style string no Set the style of the mask 1.5.0
mask-class string no Set the class name of the mask 1.5.0
bindchange eventhandle no Triggers the change event when scrolling the selection, event. detail = {value}Value is an array representing picker-view Inner picker-view-column Which item is currently selected (subscript from 0 Start.) 1.0.0
bindpickstart eventhandle no Trigger event when scroll selection starts 2.3.1
bindpickend eventhandle no Trigger event when scroll selection ends 2.3.1

# Bug & Tip

  1. tip: When scrolling comes with vibration feedback in iOS, can be set in the system -> Sound and touch -> System Tactile Feedback Shut Down

# sample code

Preview with Developer Tool