diff --git a/api/@internal/component/ets/swiper.d.ts b/api/@internal/component/ets/swiper.d.ts index 69d57de31c99706030956052550343781c143b97..d5b6bf321f5c308a5dd851eb831b43829c366f52 100644 --- a/api/@internal/component/ets/swiper.d.ts +++ b/api/@internal/component/ets/swiper.d.ts @@ -2178,6 +2178,19 @@ declare class SwiperAttribute extends CommonMethod { */ onUnselected(event: Callback): SwiperAttribute; + /** + * Called when the scroll state of the swiper changed. + * + * @param { Callback } event - callback to notify the change of the scroll state. + * @returns { SwiperAttribute } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @form + * @atomicservice + * @since 20 + */ + onScrollStateChanged(event: Callback): SwiperAttribute + /** * Called when the swiper animation start. *