!14804 pageTransition Api 版本修改

Merge pull request !14804 from 孙鑫炎/dev_pageVertionChange
This commit is contained in:
openharmony_ci 2024-11-21 06:35:33 +00:00 committed by Gitee
commit cf7ff65c2d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -360,7 +360,7 @@ declare class CommonTransition<T> {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 13
* @since 14
*/
translate(value: TranslateOptions): T;
@ -399,7 +399,7 @@ declare class CommonTransition<T> {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 13
* @since 14
*/
scale(value: ScaleOptions): T;
@ -563,9 +563,9 @@ declare interface PageTransitionOptions {
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 13
* @since 14
*/
declare type PageTransitionCallback = (type: RouteType, progress: number) => void
declare type PageTransitionCallback = (type: RouteType, progress: number) => void;
/**
* Provides an interface for page rotation mode.
@ -659,7 +659,7 @@ interface PageTransitionEnterInterface extends CommonTransition<PageTransitionEn
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 13
* @since 14
*/
onEnter(event: PageTransitionCallback): PageTransitionEnterInterface;
}
@ -756,7 +756,7 @@ interface PageTransitionExitInterface extends CommonTransition<PageTransitionExi
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 13
* @since 14
*/
onExit(event: PageTransitionCallback): PageTransitionExitInterface;
}