From 3939958cdcfde56c37a521e46c259822dfe845de Mon Sep 17 00:00:00 2001 From: houguobiao Date: Mon, 25 Nov 2024 15:32:21 +0800 Subject: [PATCH] =?UTF-8?q?TimePicker=E7=BB=84=E4=BB=B6=E6=94=AF=E6=8C=811?= =?UTF-8?q?2=E5=B0=8F=E6=97=B6=E5=88=B6=E6=97=B6=E4=B8=8A=E5=8D=88?= =?UTF-8?q?=E4=B8=8B=E5=8D=88=E8=B7=9F=E9=9A=8F=E6=97=B6=E9=97=B4=E8=81=94?= =?UTF-8?q?=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: houguobiao Change-Id: I60086a2903be0b515555b42724155914ada63603 --- 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 f83f1a181..298106692 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -3662,6 +3662,19 @@ typedef enum { * */ NODE_TIME_PICKER_SELECTED_TEXT_STYLE, + /** + * @brief Defines whether the AM/PM option is cascaded with the time in 12-hour mode. + * 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 enable cascade. The default value is false. \n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].i32: whether to enable cascade. + * + * @since 16 + */ + NODE_TIME_PICKER_ENABLE_CASCADE = 14007, /** * @brief Defines the data selection range of the text picker. -- Gitee