mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-27 09:22:53 +00:00
add navigation mode change
Signed-off-by: tsj_2020 <tongshijia@huawei.com> Change-Id: I5b198445a0cd7e8cff05bf305fe35abcc2dde05d
This commit is contained in:
parent
19c63004f3
commit
c66740b498
11
api/@internal/component/ets/navigation.d.ts
vendored
11
api/@internal/component/ets/navigation.d.ts
vendored
@ -993,6 +993,17 @@ declare class NavigationAttribute extends CommonMethod<NavigationAttribute> {
|
||||
*/
|
||||
onNavBarStateChange(callback: (isVisible: boolean) => void): NavigationAttribute;
|
||||
|
||||
/**
|
||||
* Trigger callback when navigation mode changes.
|
||||
*
|
||||
* @param { function } callback
|
||||
* @returns { NavigationAttribute }
|
||||
* @syscap SystemCapability.ArkUI.ArkUI.Full
|
||||
* @crossplatform
|
||||
* @since 11
|
||||
*/
|
||||
onNavigationModeChange(callback: (mode: NavigationMode) => void): NavigationAttribute;
|
||||
|
||||
/**
|
||||
* Set builder for user-defined NavDestination component.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user