From e0f92d0f1aa7f2df2f0d1e4dd44274aba708dbfb Mon Sep 17 00:00:00 2001 From: hct95 Date: Fri, 29 Nov 2024 14:41:17 +0800 Subject: [PATCH] =?UTF-8?q?hovermove=E4=BA=8B=E4=BB=B6capi=E6=96=B0?= =?UTF-8?q?=E5=A2=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: hct95 --- arkui/ace_engine/native/native_node.h | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index f83f1a181..bf8ab6c6c 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -5587,10 +5587,8 @@ typedef enum { */ NODE_ON_HOVER, /** - * @brief Defines the click event. + * @brief Defines the mouse event. * - * This event is triggered when the component is clicked by a mouse device button or when the mouse pointer moves - * within the component. \n * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is * {@link ArkUI_UIInputEvent}. \n */ @@ -5713,6 +5711,16 @@ typedef enum { * @since 14 */ NODE_ON_KEY_PRE_IME = 22, + /** + * @brief Defines the hover event. + * + * The event is triggered when the pointer is hovered by a pen device. + * within the component. \n + * When the event callback occurs, the {@link ArkUI_NodeEvent} object can be obtained from the + * {@link ArkUI_UIInputEvent} object. \n + * @since 16 + */ + NODE_ON_HOVER_MOVE = 23, /** * @brief Triggers onDetectResultUpdate callback -- Gitee