From 7a13431aa72068e1c4a73f5cfef80e3388b1e4b1 Mon Sep 17 00:00:00 2001 From: wangweiyuan Date: Fri, 13 Jun 2025 11:22:18 +0800 Subject: [PATCH] scrolltoc Signed-off-by: wangweiyuan --- 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 a3daf6262..c8cce8123 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -5164,10 +5164,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