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

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

Signed-off-by: Nking_he <6384784@qq.com>
上级 450d1143
# TextInput # TextInput
> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE**<br/> > **NOTE**<br/>
> 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.
...@@ -45,11 +45,11 @@ In addition to universal attributes, the following attributes are supported. ...@@ -45,11 +45,11 @@ In addition to universal attributes, the following attributes are supported.
- EnterKeyType enums - EnterKeyType enums
| Name | Description | | Name | Description |
| -------- | -------- | | -------- | -------- |
| EnterKeyType.Go | The Enter key is labeled "Go." | | EnterKeyType.Go | The Enter key is labeled **Go**. |
| EnterKeyType.Search | The Enter key is labeled "Search." | | EnterKeyType.Search | The Enter key is labeled **Search**. |
| EnterKeyType.Send | The Enter key is labeled "Send." | | EnterKeyType.Send | The Enter key is labeled **Send**. |
| EnterKeyType.Next | The Enter key is labeled "Next." | | EnterKeyType.Next | The Enter key is labeled **Next**. |
| EnterKeyType.Done | The Enter key is labeled "Done." | | EnterKeyType.Done | The Enter key is labeled **Done**. |
- InputType enums - InputType enums
| Name | Description | | Name | Description |
...@@ -94,7 +94,7 @@ Sets the cursor in a specified position. ...@@ -94,7 +94,7 @@ Sets the cursor in a specified position.
- Parameters - Parameters
| Name | Type | Mandatory | Default Value | Description | | Name | Type | Mandatory | Default Value | Description |
| -------- | -------- | -------- | -------- | -------- | | -------- | -------- | -------- | -------- | -------- |
| value | number | Yes | - | Position of the input cursor.<br/>**value**: indicates the length from the start of the string to the position where the input cursor is located. | | value | number | Yes | - | Position of the input cursor.<br/>**value**: length from the start of the string to the position where the input cursor is located. |
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册