swiper-effect-utils.d.ts 911 B

12345678910111213141516171819202122232425262728
  1. import type { Swiper, SwiperOptions } from './types/index.d.ts';
  2. declare const createShadow: (suffix: string, slideEl: HTMLElement, side?: string) => HTMLElement;
  3. declare const effectInit: (params: {
  4. effect: string;
  5. swiper: Swiper;
  6. on: () => void;
  7. setTranslate: () => void;
  8. setTransition: (duration: number) => void;
  9. overwriteParams?: () => SwiperOptions;
  10. perspective?: () => boolean;
  11. recreateShadows?: () => void;
  12. getEffectParams?: () => { slideShadows?: boolean };
  13. }) => void;
  14. declare const effectTarget: (effectParams: any, slideEl: HTMLElement) => void;
  15. declare const effectVirtualTransitionEnd: (params: {
  16. swiper: Swiper;
  17. duration: number;
  18. transformElements: HTMLElement[];
  19. allSlides?: boolean;
  20. }) => void;
  21. declare const getSlideTransformEl: (slideEl: HTMLElement) => void;
  22. export { createShadow, effectInit, effectTarget, effectVirtualTransitionEnd, getSlideTransformEl };