From bef3d8e3e65c429bef402701ed44dca580785d83 Mon Sep 17 00:00:00 2001 From: hongzexuan Date: Sat, 23 Nov 2024 10:22:28 +0800 Subject: [PATCH] scroll supports node_scroll_size Signed-off-by: hongzexuan Change-Id: Ie12bc77ad58b2e89dd253444dd43bdb8a69f2554 --- arkui/ace_engine/native/native_node.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index 4bdcc2976..c182d4e46 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -4496,6 +4496,19 @@ typedef enum { */ NODE_SCROLL_FLING, + /** + * @brief Obtains the total size of all child components when fully expanded in the scrollable component. + * + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].f32: total width of all child components when fully expanded in the scrollable component. + * The default unit is vp. \n + * .value[1].f32: total height of all child components when fully expanded in the scrollable component. + * The default unit is vp. \n + * + * @since 14 + */ + NODE_SCROLL_SIZE, + /** * @brief Defines the direction in which the list items are arranged. This attribute can be set, reset, and * obtained as required through APIs. -- Gitee