From d0052930fee11a755ad3107b5666a6aef9585507 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B0=B8=E5=87=AF?= Date: Fri, 9 May 2025 16:33:07 +0800 Subject: [PATCH] scrollto over 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 31ff5ef28..3597be4f2 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -5140,10 +5140,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