From ded3d35935c72eef28642a9b911ceddd8cdb3cfc Mon Sep 17 00:00:00 2001 From: xuzhidan Date: Sat, 22 Feb 2025 11:37:09 +0800 Subject: [PATCH] =?UTF-8?q?Swiper=E6=96=B0=E5=A2=9EcachedCount=20C-API?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: xuzhidan Change-Id: I89eed9e5317e317862bc36441a222b160e85562a --- arkui/ace_engine/native/native_node.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index a046c800c..73a237d90 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -5533,6 +5533,12 @@ typedef enum { * * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n * .value[0].i32: number of cached items in the swiper adapter. \n + * .value[1]?.i32: whether to show the nodes in the cache, the default value is 0. + * The value 1 means to show the nodes in the cache, and 0 means not show. \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].i32: number of cached items in the swiper adapter. \n + * .value[1].i32: whether to show the nodes in the cache. The value 1 means to show the nodes in the cache, + * and 0 means not show. \n */ NODE_SWIPER_CACHED_COUNT, -- Gitee