未验证 提交 0a3e6775 编写于 作者: 邓辉 提交者: Gitee

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

Signed-off-by: Nhuidengk <huidengk@isoftstone.com>
上级 3900371c
......@@ -19,12 +19,13 @@
## 接口
TextInput(value?:{placeholder?: string controller?: TextInputController})
TextInput(value?:{placeholder?: string | Resource,text?: string | Resource, controller?: TextInputController})
- 参数
| 参数名 | 参数类型 | 必填 | 默认值 | 参数描述 |
| ----------------------- | ---------------------------------------- | ---- | ---- | --------------- |
| placeholder | string | 否 | - | 无输入时的提示文本。 |
| placeholder | string&nbsp;\|&nbsp;[Resource](../../ui/ts-types.md#resource类型) | 否 | - | 无输入时的提示文本。 |
| text | string&nbsp;\|&nbsp;[Resource](../../ui/ts-types.md#resource类型) | 否 | - | 设置提示文本的当前值。 |
| controller<sup>8+</sup> | [TextInputController](#textinputcontroller8) | 否 | - | 设置TextInput控制器。 |
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册