diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index f83f1a181ac76ff83c6715222ed08f405ff01032..5db1f4de56b7cbaa8101574b451734523e6a4da4 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -3662,6 +3662,38 @@ typedef enum { * */ NODE_TIME_PICKER_SELECTED_TEXT_STYLE, + /** + * @brief Defines the show option count of the time 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: show option count.\n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * value[0].i32: show option count.\n + * + * @since 16 + */ + NODE_TIME_PICKER_SHOW_OPTION_COUNT = 14008, + /** + * @brief Defines the background color, and border radius of the selected item in the time 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 + * .string: array of five parameters of the string type, separated by semicolons (;).\n + * Parameter 1: background color, in #ARGB format.\n + * Parameter 2: radius of the four corners.\n + * Example: "#ff182431;8".\n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .string: array of five parameters of the string type, separated by semicolons (;).\n + * Parameter 1: background color, in #ARGB format.\n + * Parameter 2: radius of the four corners.\n + * Example: "#ff182431;8".\n + * + * @since 16 + */ + NODE_TIME_PICKER_SELECTED_TEXT_BACKGROUND_STYLE = 14009, /** * @brief Defines the data selection range of the text picker.