UNPKG

swiper

Version:

Most modern mobile touch slider and framework with hardware accelerated transitions

12 lines (11 loc) 700 B
import type { SwiperEvents } from '../types/events.js'; import type { Swiper, SwiperEventHandler } from './core.js'; declare const _default: { on(this: Swiper, events: keyof SwiperEvents | string, handler: SwiperEventHandler, priority?: boolean): Swiper; once(this: Swiper, events: keyof SwiperEvents | string, handler: SwiperEventHandler, priority?: boolean): Swiper; onAny(this: Swiper, handler: SwiperEventHandler, priority?: boolean): Swiper; offAny(this: Swiper, handler: SwiperEventHandler): Swiper; off(this: Swiper, events: keyof SwiperEvents | string, handler?: SwiperEventHandler): Swiper; emit(this: Swiper, ...args: unknown[]): Swiper; }; export default _default;