未验证 提交 3bf5a4e6 编写于 作者: L LiAn 提交者: Gitee

update zh-cn/application-dev/reference/arkui-ts/ts-container-listitem.md.

Signed-off-by: NLiAn <lian15@huawei.com>
Signed-off-by: NLiAn <lian15@huawei.com>
上级 b8744afd
......@@ -15,7 +15,9 @@
从API version 9开始,该接口支持在ArkTS卡片中使用。
**方法1:** ListItem(value?: ListItemOptions)<sup>10+</sup>
### ListItem<sup>10+</sup>
ListItem(value?: ListItemOptions)
**参数:**
......@@ -23,9 +25,11 @@
| ------ | --------------------------------------------- | ---- | ------------------------------------------------------------ |
| value | [ListItemOptions](#listitemoptions10对象说明) | 否 | 为ListItem提供可选参数, 该对象内含有ListItemStyle枚举类型的style参数。 |
**方法2:** ListItem(value?: string)<sup>(deprecated)</sup>
### ListItem<sup>(deprecated)</sup>
ListItem(value?: string)
从API version 10开始, 该接口不再维护,推荐使用方法1
从API version 10开始, 该接口不再维护,推荐使用[ListItem<sup>10+</sup>](#listitem10)
**参数:**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册