From 643f28982537740534ab4e72b9a8e4062c0b20ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B0=B8=E5=87=AF?= Date: Thu, 22 May 2025 15:04:51 +0800 Subject: [PATCH] scrolltoc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 刘永凯 --- arkui/ace_engine/native/native_node.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index 2db2d6ed0..192f5ee7f 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -5077,10 +5077,13 @@ typedef enum { * .value[1].f32: vertical scrolling offset, in vp. \n * .value[2]?.i32: scrolling duration, in milliseconds. Optional. \n * .value[3]?.i32: scrolling curve. Optional. The parameter type is {@link ArkUI_AnimationCurve}. - * The default value is ARKUI_CURVE_EASE. \n - * .value[4]?.i32: whether to enable the default spring animation. Optional. The default value 0 means not - * to enable the default spring animation. \n - * .value[5]?.i32: Optional value, sets whether scrolling can cross the boundary. \n + * The default value is ARKUI_CURVE_EASE. \n + * .value[4]?.i32: whether to enable the default spring animation. Optional. + * The default value 0 means not to enable the default spring animation. \n + * .value[5]?.i32: whether to convert the scroll animation to an overshoot animation when the boundary is reached. + * Optional. \n + * .value[6]?.i32: whether the component can stop at an overscrolled position. + * This parameter is supported since API version 20. \n * \n * Format of the return value {@link ArkUI_AttributeItem}:\n * .value[0].f32: horizontal scrolling offset, in vp. \n -- Gitee