diff --git a/en/application-dev/reference/arkui-ts/ts-container-listitem.md b/en/application-dev/reference/arkui-ts/ts-container-listitem.md index 7377898fa1d955f999e5a67f794e064d62069bf8..e28445a6620a83213f27bd721ea246a7d076efa2 100644 --- a/en/application-dev/reference/arkui-ts/ts-container-listitem.md +++ b/en/application-dev/reference/arkui-ts/ts-container-listitem.md @@ -1,7 +1,7 @@ # ListItem -> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE** +> **NOTE**
> This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version. @@ -27,12 +27,12 @@ ListItem() | Name | Type | Default Value | Description | | -------- | -------- | -------- | -------- | -| sticky | Sticky | Sticky.None | Sticky effect of the list item. For details, see Sticky enums. | +| sticky | Sticky | Sticky.None | Sticky effect of the list item. For details, see **Sticky** enums. | | editable | boolean | false | Whether the list item is editable. A list item can be deleted in editing mode. | -| selectable8+ | boolean | true | Whether the current **<ListItem>** is selectable by the mouse.
> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE**
> This attribute takes effect only when mouse frame selection is enabled for the parent **<List>** container. | +| selectable8+ | boolean | true | Whether the current **ListItem;** is selectable by the mouse.
**NOTE**
This attribute takes effect only when mouse frame selection is enabled for the parent **<List>** container. | - Sticky enums - | Name | Description | + | Name | Description | | -------- | -------- | | None | No sticky. | | Normal | The list item is sticky. | @@ -40,7 +40,7 @@ ListItem() ## Events - | Name | Description | +| Name | Description | | -------- | -------- | | onSelect(callback: (isSelected: boolean) => any)8+ | Triggered when the selected state of the **<ListItem>** changes.
**isSelected**: Returns **true** if the **<ListItem>** is selected by the mouse; returns **false** otherwise. |