From 33e42343892febfbe6908ce0ca090c93c3ace279 Mon Sep 17 00:00:00 2001 From: yaoyuchi Date: Tue, 25 Jan 2022 16:30:07 +0800 Subject: [PATCH] add swiper animation curve attribute Signed-off-by: yaoyuchi --- api/@internal/component/ets/swiper.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/api/@internal/component/ets/swiper.d.ts b/api/@internal/component/ets/swiper.d.ts index 77d8b0e6cc..ec5fd62dca 100644 --- a/api/@internal/component/ets/swiper.d.ts +++ b/api/@internal/component/ets/swiper.d.ts @@ -155,6 +155,11 @@ declare class SwiperAttribute extends CommonMethod { */ disableSwipe(value: boolean): SwiperAttribute; + /** + * Called when sliding is curve + * @since 8 + */ + curve(value: Curve | string): SwiperAttribute; /** * Called when the index value changes. * @since 7 -- Gitee