未验证 提交 79aeb3f2 编写于 作者: O openharmony_ci 提交者: Gitee

!7848 翻译完成 6628:通用组件TextArea中接口文档与dts文件描述不一致

Merge pull request !7848 from ester.zhou/TR-6674
# TextArea # TextArea
The **\<TextArea>** component provides multi-line text input.
> **NOTE** > **NOTE**
> >
> This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version. > This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version.
The **\<TextArea>** component provides multi-line text input.
## Required Permissions ## Required Permissions
None None
...@@ -26,13 +24,14 @@ TextArea(value?:{placeholder?: string, controller?: TextAreaController}) ...@@ -26,13 +24,14 @@ TextArea(value?:{placeholder?: string, controller?: TextAreaController})
- Parameters - Parameters
| Name | Type | Mandatory | Default Value | Description | | Name | Type | Mandatory | Default Value | Description |
| ----------------------- | ---------------------------------------- | --------- | ------------- | -------------------------------------- | | ----------------------- | ---------------------------------------- | --------- | ------------- | -------------------------------------- |
| placeholder | string | No | - | Text displayed when there is no input. | | placeholder | string \|&nbsp;[Resource](../../ui/ts-types.md) | No | - | Text displayed when there is no input. |
| text | string \|&nbsp;[Resource](../../ui/ts-types.md) | No | - | Current text input. |
| controller<sup>8+</sup> | [TextAreaController](#textareacontroller8) | No | - | Text area controller. | | controller<sup>8+</sup> | [TextAreaController](#textareacontroller8) | No | - | Text area controller. |
## Attributes ## Attributes
In addition to universal attributes, the following attributes are supported. In addition to the universal attributes, the following attributes are supported.
| Name | Type | Default Value | Description | | Name | Type | Default Value | Description |
| ------------------------ | ---------------------------------------- | ------------- | ---------------------------------------- | | ------------------------ | ---------------------------------------- | ------------- | ---------------------------------------- |
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册