UNPKG

@zebra-ui/swiper

Version:

专为多端设计的高性能swiper轮播组件库,支持多种复杂的 3D swiper轮播效果。

18 lines (15 loc) 504 B
import type { SwiperInterface } from '../../swiper-class' export interface EffectInitParams { effect: string swiper: SwiperInterface on: (event: string, handler: (...args: any[]) => void) => void setTranslate: () => void setTransition: (duration: number) => void overwriteParams?: () => Record<string, any> perspective?: () => boolean recreateShadows?: () => void getEffectParams?: () => { slideShadows?: boolean } } export interface EffectInit { (params: EffectInitParams): void }