All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.swiper-effect-utils.d.ts Maven / Gradle / Ivy

Go to download

Most modern mobile touch slider and framework with hardware accelerated transitions

There is a newer version: 11.1.14
Show newest version
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 };




© 2015 - 2024 Weber Informatics LLC | Privacy Policy