well-waterfall 1.2.12 → 1.3.0
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 +1 -0
- package/dist/lib/attributes.d.ts +3 -0
- package/dist/lib/elements.d.ts +3 -0
- package/dist/modules/autoplayControl.d.ts +2 -0
- package/dist/modules/callbacks.d.ts +10 -0
- package/dist/well-waterfall.es.js +1672 -1563
- package/dist/well-waterfall.es.js.map +1 -1
- package/dist/well-waterfall.umd.js +4 -4
- package/dist/well-waterfall.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/lib/attributes.d.ts
CHANGED
|
@@ -204,6 +204,8 @@ export declare const ATTR_REVERSE_DIRECTION = "waterfall-reverse-direction";
|
|
|
204
204
|
export declare const ATTR_PAUSE_ON_MOUSE_ENTER = "waterfall-pause-on-mouse-enter";
|
|
205
205
|
export declare const ATTR_STOP_ON_LAST_SLIDE = "waterfall-stop-on-last-slide";
|
|
206
206
|
export declare const ATTR_WAIT_FOR_TRANSITION = "waterfall-wait-for-transition";
|
|
207
|
+
export declare const ATTR_AUTOPLAY_CONTROL_ENABLED = "waterfall-autoplay-control-enabled";
|
|
208
|
+
export declare const ATTR_AUTOPLAY_CONTROL_DEFAULT_STATE = "waterfall-autoplay-control-default-state";
|
|
207
209
|
export declare const ATTR_FREE_MODE_ENABLED = "waterfall-free-mode-enabled";
|
|
208
210
|
export declare const ATTR_FREE_MODE_MINIMUM_VELOCITY = "waterfall-free-mode-minimum-velocity";
|
|
209
211
|
export declare const ATTR_FREE_MODE_MOMENTUM = "waterfall-free-mode-momentum";
|
|
@@ -251,4 +253,5 @@ export declare const ATTR_PARALLAX_Y = "data-swiper-parallax-y";
|
|
|
251
253
|
export declare const ATTR_PARALLAX_SCALE = "data-swiper-parallax-scale";
|
|
252
254
|
export declare const ATTR_PARALLAX_OPACITY = "data-swiper-parallax-opacity";
|
|
253
255
|
export declare const ATTR_PARALLAX_DURATION = "data-swiper-parallax-duration";
|
|
256
|
+
export declare const ATTR_CALLBACK_SLIDE_CHANGE = "waterfall-callback-slide-change";
|
|
254
257
|
export declare const ATTR_PLAYBACK_MODE = "waterfall-playback-mode";
|
package/dist/lib/elements.d.ts
CHANGED
|
@@ -8,3 +8,6 @@ export declare const EL_NAVIGATION_PREV = "navigation-prev";
|
|
|
8
8
|
export declare const EL_SCROLLBAR = "scrollbar";
|
|
9
9
|
export declare const EL_SCROLLBAR_DRAG = "scrollbar-drag";
|
|
10
10
|
export declare const EL_SLIDE_COUNT = "slide-count";
|
|
11
|
+
export declare const EL_AUTOPLAY_CONTROL = "autoplay-control";
|
|
12
|
+
export declare const EL_AUTOPLAY_CONTROL_PAUSE = "autoplay-control-pause";
|
|
13
|
+
export declare const EL_AUTOPLAY_CONTROL_PLAY = "autoplay-control-play";
|
|
@@ -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;
|