From 4fc91769e2014f16e8d12576cd5634d42fc29f66 Mon Sep 17 00:00:00 2001 From: wind_ Date: Tue, 19 Aug 2025 20:20:08 +0800 Subject: [PATCH 1/2] List StickyStyle add Both value Signed-off-by: wind_ Change-Id: If6b5dba4de108be4eb7e88ee14d95e8e64f6f469 --- api/arkui/component/list.static.d.ets | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/api/arkui/component/list.static.d.ets b/api/arkui/component/list.static.d.ets index ad2b22a9b8..83474d1842 100644 --- a/api/arkui/component/list.static.d.ets +++ b/api/arkui/component/list.static.d.ets @@ -154,7 +154,15 @@ export declare enum StickyStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - Footer = 2 + Footer = 2, + /** + * In the ListItemGroup component, the header is pinned to the top, + * and the footer is pinned to the bottom. + * + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + */ + Both = 3 } /** * Declare edge effect of chain animation. -- Gitee From e33a2e9ab0f5aa82227131af689159dff1d9b98b Mon Sep 17 00:00:00 2001 From: yeyinglong Date: Wed, 20 Aug 2025 03:04:13 +0000 Subject: [PATCH 2/2] Update api/arkui/component/list.static.d.ets --- api/arkui/component/list.static.d.ets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/arkui/component/list.static.d.ets b/api/arkui/component/list.static.d.ets index 83474d1842..8457c13bdc 100644 --- a/api/arkui/component/list.static.d.ets +++ b/api/arkui/component/list.static.d.ets @@ -162,7 +162,7 @@ export declare enum StickyStyle { * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 20 */ - Both = 3 + BOTH = 3 } /** * Declare edge effect of chain animation. -- Gitee