From 058fb5634ae438a236989f6c5cf409c7052c1d20 Mon Sep 17 00:00:00 2001 From: sun-xinyan Date: Fri, 8 Aug 2025 14:46:03 +0800 Subject: [PATCH] add navDestination info Signed-off-by: sun-xinyan --- api/@ohos.arkui.observer.static.d.ets | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/api/@ohos.arkui.observer.static.d.ets b/api/@ohos.arkui.observer.static.d.ets index 5af9c25071..96c1b2bcc3 100644 --- a/api/@ohos.arkui.observer.static.d.ets +++ b/api/@ohos.arkui.observer.static.d.ets @@ -24,6 +24,7 @@ import { NavPathStack, NavigationOperation, NavBar } from './arkui/component/nav import { UIContext } from '@ohos.arkui.UIContext'; import UIAbilityContext from './application/UIAbilityContext'; import { Callback } from './@ohos.base'; +import { NavDestinationMode } from './arkui/component/navDestination'; /** * Register callbacks to observe ArkUI behavior. @@ -264,6 +265,24 @@ declare namespace uiObserver { * @since 20 */ navDestinationId: string; + + /** + * NavDestination uniqueId. + * + * @type { number } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + */ + uniqueId?: number; + + /** + * NavDestination mode. + * + * @type { NavDestinationMode } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 20 + */ + mode?: NavDestinationMode; } /** * Navigation info. -- Gitee