@zebra-ui/swiper
Version:
专为多端设计的高性能swiper轮播组件库,支持多种复杂的 3D swiper轮播效果。
18 lines (15 loc) • 458 B
TypeScript
import type { SwiperInterface } from '../../swiper-class'
export interface UpdateSwiperParams {
swiper: SwiperInterface
slides?: any[]
passedParams: Record<string, any>
changedParams: string[]
nextEl?: HTMLElement | string | null
prevEl?: HTMLElement | string | null
scrollbarEl?: HTMLElement | string | null
paginationEl?: HTMLElement | string | null
tag?: string
}
export interface UpdateSwiper {
(params: UpdateSwiperParams): void
}