well-waterfall 1.2.12 → 1.2.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export * from './lib/attributes';
2
2
  export * from './lib/elements';
3
+ export type { SlideChangeCallbackParams } from './modules/callbacks';
@@ -251,4 +251,5 @@ export declare const ATTR_PARALLAX_Y = "data-swiper-parallax-y";
251
251
  export declare const ATTR_PARALLAX_SCALE = "data-swiper-parallax-scale";
252
252
  export declare const ATTR_PARALLAX_OPACITY = "data-swiper-parallax-opacity";
253
253
  export declare const ATTR_PARALLAX_DURATION = "data-swiper-parallax-duration";
254
+ export declare const ATTR_CALLBACK_SLIDE_CHANGE = "waterfall-callback-slide-change";
254
255
  export declare const ATTR_PLAYBACK_MODE = "waterfall-playback-mode";
@@ -0,0 +1,10 @@
1
+ import { SwiperOptions } from 'swiper/types';
2
+ import { default as Swiper } from 'swiper';
3
+ export type SlideChangeCallbackParams = {
4
+ swiper: Swiper;
5
+ activeIndex: number;
6
+ previousIndex: number;
7
+ activeSlide: HTMLElement | null;
8
+ previousSlide: HTMLElement | null;
9
+ };
10
+ export declare function callbacksConfig(config: SwiperOptions, el: HTMLElement): void;