From ab9595a8b6db9ac54efa826b195ea8feac7ac9d4 Mon Sep 17 00:00:00 2001 From: royce-ls Date: Fri, 16 May 2025 15:45:03 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90DatePicker=E3=80=91=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=88=97=E5=BE=AA=E7=8E=AF=E5=8F=AF=E9=85=8D=E7=BD=AEC-API?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: royce-ls Change-Id: I105981e66e03627e13c4bdefdbd00c0cfb4fcab9 --- arkui/ace_engine/native/native_node.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index c3fb83c32..75b775047 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -3904,6 +3904,20 @@ typedef enum { * @since 18 */ NODE_DATE_PICKER_ENABLE_HAPTIC_FEEDBACK = 13008, + /** + * @brief Defines whether to support scroll looping for the date picker. + * This attribute can be set, reset, and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .value[0].i32: whether to support scroll looping. The value true means to support scroll looping, and + * false means the opposite.\n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * value[0].i32: The value 1 means to support scroll looping, and 0 means the opposite. \n + * + * @since 20 + */ + NODE_DATE_PICKER_CAN_LOOP = 13009, /** * @brief Defines the time of the selected item. in the timer picker. * This attribute can be set, reset, and obtained as required through APIs. -- Gitee