From 8f9af95d7be91b240688a1e84310d8d22c1eaa53 Mon Sep 17 00:00:00 2001 From: wujinhui Date: Mon, 23 Jun 2025 20:05:38 +0800 Subject: [PATCH] frame node add noew func isConverted Signed-off-by: wujinhui --- api/arkui/FrameNode.d.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/api/arkui/FrameNode.d.ts b/api/arkui/FrameNode.d.ts index cbc125790b..470792038f 100644 --- a/api/arkui/FrameNode.d.ts +++ b/api/arkui/FrameNode.d.ts @@ -920,6 +920,21 @@ export declare class FrameNode { * @arkts 1.1&1.2 */ reuse(): void; + + /** + * Returns a flag indicating whether the current FrameNode was obtained through dynamic-static conversion, + * includes conversions in both directions: dynamic-to-static and static-to-dynamic. + * + * @returns {boolean} - Returns true if the FrameNode was converted between dynamic and static states, + * otherwise, returns false. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 20 + * @arkts 1.1&1.2 + */ + isTransferred(): boolean; + } /** * Used to define the FrameNode type. -- Gitee