diff --git a/api/@internal/component/ets/image.d.ts b/api/@internal/component/ets/image.d.ts index 43097a46f0b1f3c2e4938cb26fa6286853360362..6a7b5a2ad288bb406068f7dfaf1d5fabd00dcd39 100644 --- a/api/@internal/component/ets/image.d.ts +++ b/api/@internal/component/ets/image.d.ts @@ -2271,6 +2271,18 @@ declare class ImageAttribute extends CommonMethod { * @since 21 */ supportSvg2(enable: boolean) : ImageAttribute; + + /** + * Animation effect when the image content changes. + * + * @param { ContentTransitionEffect } transition - Animation effect type + * @returns { ImageAttribute } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 21 + */ + contentTransition(transition: ContentTransitionEffect): ImageAttribute; } /**