swiper
Version:
Most modern mobile touch slider and framework with hardware accelerated transitions
11 lines (10 loc) • 404 B
TypeScript
import { type ComputedRef, type Ref } from 'vue';
import type { Swiper as SwiperClass } from '../core/core.js';
export interface VueSwiperSlideData {
isActive: boolean;
isVisible: boolean;
isPrev: boolean;
isNext: boolean;
}
export declare const useSwiperSlide: () => ComputedRef<VueSwiperSlideData> | undefined;
export declare const useSwiper: () => Ref<SwiperClass | null> | undefined;