diff --git a/api/@internal/component/ets/navigation.d.ts b/api/@internal/component/ets/navigation.d.ts index 50cd9e817d12b7d8896f8c214208703ce9f1d807..d9f5589483d893265de5f64fdacec39973d1fe0e 100644 --- a/api/@internal/component/ets/navigation.d.ts +++ b/api/@internal/component/ets/navigation.d.ts @@ -1306,6 +1306,8 @@ declare class NavPathStack { * @param { string } name - Indicates the name of the NavDestination to be pushed. * @param { Object } param - Indicates the detailed parameter of the NavDestination to be pushed. * @param { boolean } [animated] - Indicates whether the transition is animated. + *
Default value: **true**. + *
**true**: The transition animation is supported. **false**: The transition animation is not supported. * @returns { Promise } The promise returned by the function. * @throws { BusinessError } 401 - Parameter error. Possible causes: * 1. Mandatory parameters are left unspecified. @@ -1348,6 +1350,8 @@ declare class NavPathStack { * @param { Object } param - Indicates the detailed parameter of the NavDestination to be pushed. * @param { import('../api/@ohos.base').Callback } onPop - The callback when next page returns. * @param { boolean } [animated] - Indicates whether the transition is animated. + *
Default value: **true**. + *
**true**: The transition animation is supported. **false**: The transition animation is not supported. * @returns { Promise } The promise returned by the function. * @throws { BusinessError } 401 - Parameter error. Possible causes: * 1. Mandatory parameters are left unspecified. @@ -1370,6 +1374,8 @@ declare class NavPathStack { * @param { Object } param - Indicates the detailed parameter of the NavDestination to be pushed. * @param { Callback } onPop - The callback when next page returns. * @param { boolean } [animated] - Indicates whether the transition is animated. + *
Default value: **true**. + *
**true**: The transition animation is supported. **false**: The transition animation is not supported. * @returns { Promise } The promise returned by the function. * @throws { BusinessError } 401 - Parameter error. Possible causes: * 1. Mandatory parameters are left unspecified. @@ -1691,6 +1697,8 @@ declare class NavPathStack { * * @param { string } name - Indicates the name of the NavDestination to be moved to the top. * @param { boolean } [animated] - Indicates whether the transition is animated. + *
Default value: **true**. + *
**true**: The transition animation is supported. **false**: The transition animation is not supported. * @returns { number } Returns the index of the NavDestination if it exists in the stack, otherwise returns -1; * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform @@ -1949,6 +1957,8 @@ declare class NavPathStack { * * @param { Array } pathStack - The NavPathInfo array. * @param { boolean } [animated] - Indicate whether the operation has animation. + *
Default value: **true**. + *
**true**: The transition animation is supported. **false**: The transition animation is not supported. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice diff --git a/api/@ohos.arkui.advanced.MultiNavigation.d.ets b/api/@ohos.arkui.advanced.MultiNavigation.d.ets index a90ca599fcb99a4aa3fa4131fccf43c179892f3d..9041272813b1fdb390f5771ea240726c9fb46c75 100644 --- a/api/@ohos.arkui.advanced.MultiNavigation.d.ets +++ b/api/@ohos.arkui.advanced.MultiNavigation.d.ets @@ -351,6 +351,8 @@ export declare class MultiNavPathStack extends NavPathStack { * * @param { string } name - Indicates the name of the NavDestination to be moved to the top. * @param { boolean } [animated] - Indicates whether the transition is animated. + *
Default value: **true**. + *
**true**: The transition animation is supported. **false**: The transition animation is not supported. * @returns { number } Returns the index of the NavDestination if it exists in the stack, otherwise returns -1. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform diff --git a/api/@ohos.atomicservice.NavPushPathHelper.d.ets b/api/@ohos.atomicservice.NavPushPathHelper.d.ets index fb559885ecf027832999bf667079f779a1039ce2..924a13471c8bcbd876114cdef72f2ae1d107b0dd 100644 --- a/api/@ohos.atomicservice.NavPushPathHelper.d.ets +++ b/api/@ohos.atomicservice.NavPushPathHelper.d.ets @@ -145,6 +145,8 @@ export declare class NavPushPathHelper { * @param { string } name - Indicates the name of the route page to be pushed. * @param { Object } param - Indicates the detailed parameter of the route page to be pushed. * @param { boolean } [animated] - Indicates whether the transition is animated. + *
Default value: **true**. + *
**true**: The transition animation is supported. **false**: The transition animation is not supported. * @returns { Promise } The promise returned by the function. * @throws { BusinessError } 401 - Parameter error. Possible causes: *
1. Mandatory parameters are left unspecified. @@ -168,6 +170,8 @@ export declare class NavPushPathHelper { * @param { Object } param - Indicates the detailed parameter of the route page to be pushed. * @param { Callback } onPop - The callback when next page returns. * @param { boolean } [animated] - Indicates whether the transition is animated. + *
Default value: **true**. + *
**true**: The transition animation is supported. **false**: The transition animation is not supported. * @returns { Promise } The promise returned by the function. * @throws { BusinessError } 401 - Parameter error. Possible causes: *
1. Mandatory parameters are left unspecified.