From dc0d637eeea5ef9dab590e11909887656a466c31 Mon Sep 17 00:00:00 2001 From: houguobiao Date: Thu, 7 Nov 2024 18:31:32 +0800 Subject: [PATCH] =?UTF-8?q?TextPicker=E7=BB=84=E4=BB=B6=E5=A2=9E=E5=8A=A0o?= =?UTF-8?q?nScrollStop=E4=BA=8B=E4=BB=B6=E5=9B=9E=E8=B0=83C=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: houguobiao Change-Id: Ib18d3afa8f41e55a78997c5187b15aeab261e372 --- arkui/ace_engine/native/native_node.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index d57414dcc..47cfaf692 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -6100,6 +6100,17 @@ typedef enum { */ NODE_TEXT_PICKER_EVENT_ON_CHANGE = MAX_NODE_SCOPE_NUM * ARKUI_NODE_TEXT_PICKER, + /** + * @brief Defines the event triggered when an item is selected and scrolling has stopped in the + * ARKUI_NODE_TEXT_PICKER component. + * + * When the event callback occurs, the union type in the {@link ArkUI_NodeEvent} object is + * {@link ArkUI_NodeComponentEvent}. \n + * {@link ArkUI_NodeComponentEvent} contains one parameter:\n + * ArkUI_NodeComponentEvent.data[0...11].i32: value of the selected item. \n + */ + NODE_TEXT_PICKER_EVENT_ON_SCROLL_STOP = 15001, + /** * @brief Defines the event triggered when a date is selected in the NODE_CALENDAR_PICKER. * -- Gitee