From 908c5eaa6b550d1fc2fd4aba0bf26e1e327a52f4 Mon Sep 17 00:00:00 2001 From: qlxie Date: Thu, 14 Aug 2025 16:13:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E4=BB=A3=E7=A0=81=E5=90=8C?= =?UTF-8?q?=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: qlxie Change-Id: I04fa9407a7711611f7a9e58e4e05c47e0bec7fb8 --- api/arkui/FrameNode.d.ts | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/api/arkui/FrameNode.d.ts b/api/arkui/FrameNode.d.ts index af643929bd..c9f53b6a25 100644 --- a/api/arkui/FrameNode.d.ts +++ b/api/arkui/FrameNode.d.ts @@ -286,23 +286,23 @@ export enum UIState { SELECTED = 1 << 3, } -/** - * UI state change handling function, it returns the current UI states, the value is the result - * of all current state enumeration values or calculations, and you can determine the state - * by performing the & operation as follows. - * if (currentStates & UIState.PRESSED == UIState.PRESSEED) - * But, please be awared, for the normal state check, the equal should be used directly. - * if (currentStates== UIState.NORMAL) - * - * @typedef { function } UIStatesChangeHandler - * @param { FrameNode } node - Current node which istriggering the state change. - * @param { number } currentUIStates - Current UI states when the handler is triggered. - * - * @syscap SystemCapability.ArkUI.ArkUI.Full - * @crossplatform - * @atomicservice - * @since 20 - */ + /** + * UI state change handling function, it returns the current UI states, the value is the result + * of all current state enumeration values or calculations, and you can determine the state + * by performing the & operation as follows。 + * if (currentStates & UIState.PRESSED == UIState.PRESSED) + * But, please be awared, for the normal state check, the equal should be used directly. + * if (currentStates == UIState.NORMAL) + * + * @typedef { function } UIStatesChangeHandler + * @param { FrameNode } node - Current node which is triggering the state change. + * @param { number } currentUIStates - Current UI states when the handler is triggered. + * + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + */ declare type UIStatesChangeHandler = (node: FrameNode, currentUIStates: number) => void; /** -- Gitee