type
|
string
|
default
|
No
|
Type of the list-item. A list can contain multiple list-item types. The same type of list items should have the same view layout after being rendered. If the type is fixed, replace the if attribute with the show attribute to ensure that the view layout remains unchanged.
|
primary
|
boolean
|
false
|
No
|
The value true indicates that the item is the primary item in the group, which is the item that appears in a collapsed group. If there is more than one item marked as primary, the first one is the primary item. If there is no item marked as primary, the first item is the primary item.
|
section
|
string
|
-
|
No
|
String used to match this item. This attribute can be left empty. The value cannot be dynamically updated. In a list item group, only the string set for the primary item is valid.
|
sticky
|
string
|
none
|
No
|
Whether the current item sticks in place at the top, and the effect when it disappears. This attribute supports vertical lists only and is invalid for items in a group.
- none: The current item does not stick at the top.
- normal: The current item sticks at the top and disappears with a sliding effect.
- opacity: The current item sticks at the top and disappears gradually. This option is only supported on wearables.
|
stickyradius
|
<length>
|
1000px
|
No
|
Radius of the arc for a sticky item on the wearable. If this attribute is not specified, the default radius is used. When sticky is set to none, this attribute setting is invalid.
|
clickeffect5+
|
boolean
|
true
|
No
|
Whether an effect is displayed when the current item is clicked.
- false: No effect is displayed when the item is clicked.
- true: An effect is displayed when the item is clicked.
|