openharmony 鸿蒙 ts-container-list-sys

2025-06-12 浏览 (1)

List (System API)

The List component provides a list container that presents a series of list items arranged in a column with the same width. It supports presentations of the same type of data in a multiple and coherent row style, for example, images or text.

NOTE

  • This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version.

  • This topic describes only system APIs provided by the module. For details about its public APIs, see List.

Attributes

chainAnimationOptions10+

chainAnimationOptions(value: ChainAnimationOptions)

Sets chained animation options.

System API: This is a system API.

System capability: SystemCapability.ArkUI.ArkUI.Full

Parameters

NameTypeDescription
valueChainAnimationOptionsChained animation options.

ChainEdgeEffect10+

Describes the chained animation edge scrolling effect.

System API: This is a system API.

System capability: SystemCapability.ArkUI.ArkUI.Full

NameValueDescription
DEFAULT0Default effect. After the list is scrolled to the edge, a continued drag of the list will result in reduced spacing between the list items in the drag direction and
increased spacing between the list items in the direction opposite to the drag direction.
STRETCH1After the list is scrolled to the edge, a continued drag of the list result in increased spacing between all the list items.

chainAnimationOptions10+

Provides the chained animation settings, which cover the maximum spacing, minimum spacing, intensity, conductivity, and edge scrolling effect.

System API: This is a system API.

System capability: SystemCapability.ArkUI.ArkUI.Full

NameTypeMandatoryDescription
minSpaceLengthYesMinimum spacing between the chained animations.
maxSpaceLengthYesMaximum spacing between the chained animations.
conductivitynumberNoConductivity of the chained animations. The value range is [0,1]. A larger value indicates higher conductivity.
Default value: 0.7
intensitynumberNoIntensity of the chained animations. The value range is [0,1]. A larger value indicates more obvious animations.
Default value: 0.3
edgeEffectChainEdgeEffectNoChained animation edge scrolling effect.
Default value: ChainEdgeEffect.DEFAULT
stiffnessnumberNoStiffness of the chained animations.
Default value: 228
dampingnumberNoDamping of the chained animations.
Default value: 30

你可能感兴趣的鸿蒙文章

harmony 鸿蒙ArcButton

harmony 鸿蒙ArcSlider

harmony 鸿蒙Chip

harmony 鸿蒙ChipGroup

harmony 鸿蒙ComposeListItem

harmony 鸿蒙ComposeTitleBar

harmony 鸿蒙advanced.Counter

harmony 鸿蒙Dialog Box (Dialog)

harmony 鸿蒙DialogV2

harmony 鸿蒙DownloadFileButton

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/l193d4