package.swiper-effect-utils.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of swiper Show documentation
Show all versions of swiper Show documentation
Most modern mobile touch slider and framework with hardware accelerated transitions
import type { Swiper, SwiperOptions } from './types/index.d.ts';
declare const createShadow: (suffix: string, slideEl: HTMLElement, side?: string) => HTMLElement;
declare const effectInit: (params: {
effect: string;
swiper: Swiper;
on: () => void;
setTranslate: () => void;
setTransition: (duration: number) => void;
overwriteParams?: () => SwiperOptions;
perspective?: () => boolean;
recreateShadows?: () => void;
getEffectParams?: () => { slideShadows?: boolean };
}) => void;
declare const effectTarget: (effectParams: any, slideEl: HTMLElement) => void;
declare const effectVirtualTransitionEnd: (params: {
swiper: Swiper;
duration: number;
transformElements: HTMLElement[];
allSlides?: boolean;
}) => void;
declare const getSlideTransformEl: (slideEl: HTMLElement) => void;
export { createShadow, effectInit, effectTarget, effectVirtualTransitionEnd, getSlideTransformEl };