未验证 提交 428d7c72 编写于 作者: K king_he 提交者: Gitee

update en/application-dev/reference/arkui-ts/ts-basic-components-textpicker.md.

Signed-off-by: Nking_he <6384784@qq.com>
上级 f10099a8
# TextPicker # TextPicker
> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE** > **NOTE**<br>
> This component is supported since API version 8. Updates will be marked with a superscript to indicate their earliest API version. > This component is supported since API version 8. Updates will be marked with a superscript to indicate their earliest API version.
...@@ -25,10 +25,10 @@ TextPicker(value: {range: string[], selected?: number}) ...@@ -25,10 +25,10 @@ TextPicker(value: {range: string[], selected?: number})
Creates a text picker based on the selection range specified by **range**. Creates a text picker based on the selection range specified by **range**.
- Parameter - Parameter
| Name | Type | Mandatory | Default Value | Description | | Name | Type | Mandatory | Default Value | Description |
| -------- | -------- | -------- | -------- | -------- | | -------- | -------- | -------- | -------- | -------- |
| range | string[] | Yes | - | Data selection range of the picker. | | range | string[] | Yes | - | Data selection range of the picker. |
| selected | number | No | First element | Index value of the selected item in the array. | | selected | number | No | - | Index value of the selected item in the array. By default, the first element is selected. |
## Attributes ## Attributes
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册