# picker-view The **\** component provides the view that shows an embedded scrollable selector on the screen. ## Child Components Not supported ## Attributes In addition to the attributes in [Universal Attributes](js-components-common-attributes.md), the following attributes are supported. | Name | Type | Default Value | Mandatory | Description | | ---- | ------ | ------------- | --------- | ------------------------------------------------------------ | | type | string | text | No | Type of the scrollable selector, which cannot be changed dynamically. Available values are as follows:
-**text**: text selector
-**time**: time selector
-**date**: date selector
-**datetime**: date and time selector
-**multi-text**: multi-column text selector
| Text selector (**type** is **text**) | Name | Type | Default Value | Mandatory | Description | | --------------- | ------ | ------------- | --------- | ------------------------------------------------------------ | | range | Array | - | No | Value range of the text selector.
NOTE:
Use the data binding mode, for example, range = {{data}}. Declare the corresponding variable **data: ["15", "20", "25"]** in JavaScript. | | selected | string | 0 | No | Default value of the text selector. The value is the index of **range**. | | indicatorprefix | string | - | No | Prefix field added when a value is specified for the text selector. | | indicatorsuffix | string | - | No | Suffix field added when a value is specified for the text selector. | Time selector (**type** is **time**) | Name | Type | Default Value | Mandatory | Description | | ------------- | ------- | ------------- | --------- | ------------------------------------------------------------ | | containsecond | boolean | false | No | Whether seconds are contained. | | selected | string | Current time | No | Default value of the time selector, in the format of HH:mm.If seconds are contained, the format is HH:mm:ss. | | hours | number | 241-4-5+ | No | Time format used by the time selector. Available values include:
-**12**: displayed in 12-hour format and distinguished by a.m. and p.m.
-**24**: displayed in 24-hour formatNOTE:The default value is the most commonly-used hour format in the current locale. 5+
| Date selector (**type** is **date**) | Name | Type | Default Value | Mandatory | Description | | ----------- | ------- | ------------- | --------- | ------------------------------------------------------------ | | start | \