From b580296df5d1ddc3e3cc4f0faa319f171e0cd2cc Mon Sep 17 00:00:00 2001 From: wanglili12 Date: Tue, 23 Jul 2024 10:14:37 +0800 Subject: [PATCH] =?UTF-8?q?CAPI=E6=96=B0=E5=A2=9EfocusBox=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wanglili12 Change-Id: I30e37b3eb6fa60a5199fd98939f7959a82f9415c --- arkui/ace_engine/native/native_node.h | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index 035a5f275d6..6593aa10f67 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -1785,7 +1785,21 @@ typedef enum { * */ NODE_TRANSITION = 94, - + + /** + * @brief Set the current component system focus box style. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute: \n + * .value[0].f32: The distance between the focus box and the edge of the component. \n + * Positive numbers represent the outer side, negative numbers represent the inner side. \n + * Percentage is not supported. \n + * .value[1].f32: Focus box width. Negative numbers and percentages are not supported. \n + * .value[2].u32: Focus box color. \n + * \n + * + */ + NODE_FOCUS_BOX = 96, + /** * @brief Defines the text content attribute, which can be set, reset, and obtained as required through APIs. * -- Gitee