well-waterfall 1.5.4 → 1.6.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/README.md +64 -50
- package/dist/attributes.js +137 -139
- package/dist/attributes.js.map +1 -1
- package/dist/lib/attributes.d.ts +0 -3
- package/dist/lib/elements.d.ts +1 -0
- package/dist/well-waterfall.es.js +850 -816
- package/dist/well-waterfall.es.js.map +1 -1
- package/dist/well-waterfall.umd.js +2 -2
- package/dist/well-waterfall.umd.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ Waterfall is a free-forever JavaScript library for Webflow that lets you build [
|
|
|
9
9
|
3. **Full Documentation.** Every attribute is listed below, and each setting is explained directly in the Wellspring App.
|
|
10
10
|
4. **Turn Swipers into Components.** After creating a swiper, you can turn it into a Webflow component for reuse.
|
|
11
11
|
|
|
12
|
-
Current version: **v<!-- version -->1.
|
|
12
|
+
Current version: **v<!-- version -->1.6.0<!-- /version -->** · Bundled SwiperJS: **<!-- swiper-version -->14.4.0<!-- /swiper-version -->**
|
|
13
13
|
|
|
14
14
|
## Table of contents
|
|
15
15
|
|
|
@@ -66,7 +66,7 @@ Use the Wellspring App to install the code onto your site. If you are installing
|
|
|
66
66
|
**Specific Version (Stable - Recommended)**
|
|
67
67
|
|
|
68
68
|
```html
|
|
69
|
-
<script type="module" src="https://cdn.jsdelivr.net/npm/well-waterfall@1.
|
|
69
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/well-waterfall@1.6.0"></script>
|
|
70
70
|
```
|
|
71
71
|
|
|
72
72
|
**Latest Version**
|
|
@@ -260,50 +260,49 @@ Navigation turns on automatically when a `navigation-next` or `navigation-prev`
|
|
|
260
260
|
|
|
261
261
|
### Pagination
|
|
262
262
|
|
|
263
|
-
Pagination turns on when a `pagination` [element](#element-reference) is found inside the wrapper. Add a `pagination-bullet` element to style the bullets in the Designer: every generated bullet gets that element's tag name and its classes.
|
|
263
|
+
Pagination turns on when a `pagination` [element](#element-reference) is found inside the wrapper. Add a `pagination-bullet` element to style the bullets in the Designer: every generated bullet gets that element's tag name and its classes. Add a `pagination-bullet-active` element beside it, carrying one extra class, and that class marks the active bullet.
|
|
264
|
+
|
|
265
|
+
These elements are the only way to set those classes — style them in the Designer and the bullets follow. There is no attribute that overrides them.
|
|
264
266
|
|
|
265
267
|
<!-- reference:pagination:0 -->
|
|
266
|
-
| Attribute | Swiper option | Values | Default | Description
|
|
267
|
-
| ------------------------------------------------- | ------------------------------------- | ----------------------------------------------------------------------- | ---------------------------------------- |
|
|
268
|
-
| `waterfall-pagination-type` | `pagination.type` | `bullets` \| `numberBullets` \| `fraction` \| `progressbar` \| `custom` | `bullets` | Pagination style. `numberBullets` shows bullets containing the slide number.
|
|
269
|
-
| `waterfall-pagination-enabled` | `pagination.enabled` | boolean | _(auto)_ | Set to `false` to turn pagination off even when the element exists.
|
|
270
|
-
| `waterfall-pagination-clickable` | `pagination.clickable` | boolean | `false` | Clicking a bullet goes to that slide.
|
|
271
|
-
| `waterfall-pagination-dynamic-bullets` | `pagination.dynamicBullets` | boolean | `false` | Shows only a few bullets at a time; useful with many slides.
|
|
272
|
-
| `waterfall-pagination-dynamic-main-bullets` | `pagination.dynamicMainBullets` | number | `1` | Number of main bullets shown with dynamic bullets.
|
|
273
|
-
| `waterfall-pagination-hide-on-click` | `pagination.hideOnClick` | boolean | `false` | Toggles pagination visibility when the slider is clicked.
|
|
274
|
-
| `waterfall-pagination-progressbar-opposite` | `pagination.progressbarOpposite` | boolean | `false` | Draws the progress bar in the opposite direction to the slider (e.g. vertical on a horizontal slider).
|
|
275
|
-
| `waterfall-pagination-
|
|
276
|
-
| `waterfall-pagination-
|
|
277
|
-
| `waterfall-pagination-
|
|
278
|
-
| `waterfall-pagination-
|
|
279
|
-
| `waterfall-pagination-
|
|
280
|
-
| `waterfall-pagination-
|
|
281
|
-
| `waterfall-pagination-
|
|
282
|
-
| `waterfall-pagination-
|
|
283
|
-
| `waterfall-pagination-
|
|
284
|
-
| `waterfall-pagination-
|
|
285
|
-
| `waterfall-pagination-progressbar-
|
|
286
|
-
| `waterfall-pagination-progressbar-opposite-class` | `pagination.progressbarOppositeClass` | string | `swiper-pagination-progressbar-opposite` | Class added with an opposite progress bar. |
|
|
287
|
-
| `waterfall-pagination-bullet-class` | `pagination.bulletClass` | string | the `pagination-bullet` element's class | Class applied to every generated bullet. Overrides the class donated by the `pagination-bullet` element. |
|
|
268
|
+
| Attribute | Swiper option | Values | Default | Description |
|
|
269
|
+
| ------------------------------------------------- | ------------------------------------- | ----------------------------------------------------------------------- | ---------------------------------------- | ------------------------------------------------------------------------------------------------------ |
|
|
270
|
+
| `waterfall-pagination-type` | `pagination.type` | `bullets` \| `numberBullets` \| `fraction` \| `progressbar` \| `custom` | `bullets` | Pagination style. `numberBullets` shows bullets containing the slide number. |
|
|
271
|
+
| `waterfall-pagination-enabled` | `pagination.enabled` | boolean | _(auto)_ | Set to `false` to turn pagination off even when the element exists. |
|
|
272
|
+
| `waterfall-pagination-clickable` | `pagination.clickable` | boolean | `false` | Clicking a bullet goes to that slide. |
|
|
273
|
+
| `waterfall-pagination-dynamic-bullets` | `pagination.dynamicBullets` | boolean | `false` | Shows only a few bullets at a time; useful with many slides. |
|
|
274
|
+
| `waterfall-pagination-dynamic-main-bullets` | `pagination.dynamicMainBullets` | number | `1` | Number of main bullets shown with dynamic bullets. |
|
|
275
|
+
| `waterfall-pagination-hide-on-click` | `pagination.hideOnClick` | boolean | `false` | Toggles pagination visibility when the slider is clicked. |
|
|
276
|
+
| `waterfall-pagination-progressbar-opposite` | `pagination.progressbarOpposite` | boolean | `false` | Draws the progress bar in the opposite direction to the slider (e.g. vertical on a horizontal slider). |
|
|
277
|
+
| `waterfall-pagination-clickable-class` | `pagination.clickableClass` | string | `swiper-pagination-clickable` | Class added when pagination is clickable. |
|
|
278
|
+
| `waterfall-pagination-current-class` | `pagination.currentClass` | string | `swiper-pagination-current` | Class on the current number in `fraction` pagination. |
|
|
279
|
+
| `waterfall-pagination-total-class` | `pagination.totalClass` | string | `swiper-pagination-total` | Class on the total number in `fraction` pagination. |
|
|
280
|
+
| `waterfall-pagination-hidden-class` | `pagination.hiddenClass` | string | `swiper-pagination-hidden` | Class added when pagination is hidden. |
|
|
281
|
+
| `waterfall-pagination-horizontal-class` | `pagination.horizontalClass` | string | `swiper-pagination-horizontal` | Class added for horizontal sliders. |
|
|
282
|
+
| `waterfall-pagination-vertical-class` | `pagination.verticalClass` | string | `swiper-pagination-vertical` | Class added for vertical sliders. |
|
|
283
|
+
| `waterfall-pagination-lock-class` | `pagination.lockClass` | string | `swiper-pagination-lock` | Class added when pagination is locked (not enough slides). |
|
|
284
|
+
| `waterfall-pagination-modifier-class` | `pagination.modifierClass` | string | `swiper-pagination-` | Prefix for the type modifier class (e.g. `swiper-pagination-bullets`). |
|
|
285
|
+
| `waterfall-pagination-pagination-disabled-class` | `pagination.paginationDisabledClass` | string | `swiper-pagination-disabled` | Class added when pagination is disabled. |
|
|
286
|
+
| `waterfall-pagination-progressbar-fill-class` | `pagination.progressbarFillClass` | string | `swiper-pagination-progressbar-fill` | Class on the progress bar fill. |
|
|
287
|
+
| `waterfall-pagination-progressbar-opposite-class` | `pagination.progressbarOppositeClass` | string | `swiper-pagination-progressbar-opposite` | Class added with an opposite progress bar. |
|
|
288
288
|
<!-- /reference:pagination:0 -->
|
|
289
289
|
|
|
290
290
|
### Scrollbar
|
|
291
291
|
|
|
292
|
-
The scrollbar turns on when a `scrollbar` [element](#element-reference) is found inside the wrapper.
|
|
292
|
+
The scrollbar turns on when a `scrollbar` [element](#element-reference) is found inside the wrapper. Add a `scrollbar-drag` element inside the track and Swiper uses that element as the handle, so whatever you style in the Designer is what moves. Without one, Swiper builds a plain handle of its own. The element is the only way to set the handle class — there is no attribute that overrides it.
|
|
293
293
|
|
|
294
294
|
<!-- reference:scrollbar:0 -->
|
|
295
|
-
| Attribute | Swiper option | Values | Default
|
|
296
|
-
| ---------------------------------------------- | ---------------------------------- | --------------------- |
|
|
297
|
-
| `waterfall-scrollbar-enabled` | `scrollbar.enabled` | boolean | _(auto)_
|
|
298
|
-
| `waterfall-scrollbar-draggable` | `scrollbar.draggable` | boolean | `false`
|
|
299
|
-
| `waterfall-scrollbar-hide` | `scrollbar.hide` | boolean | `false`
|
|
300
|
-
| `waterfall-scrollbar-snap-on-release` | `scrollbar.snapOnRelease` | boolean | `true`
|
|
301
|
-
| `waterfall-scrollbar-drag-size` | `scrollbar.dragSize` | number (px) \| `auto` | `auto`
|
|
302
|
-
| `waterfall-scrollbar-horizontal-class` | `scrollbar.horizontalClass` | string | `swiper-scrollbar-horizontal`
|
|
303
|
-
| `waterfall-scrollbar-vertical-class` | `scrollbar.verticalClass` | string | `swiper-scrollbar-vertical`
|
|
304
|
-
| `waterfall-scrollbar-lock-class` | `scrollbar.lockClass` | string | `swiper-scrollbar-lock`
|
|
305
|
-
| `waterfall-scrollbar-scrollbar-disabled-class` | `scrollbar.scrollbarDisabledClass` | string | `swiper-scrollbar-disabled`
|
|
306
|
-
| `waterfall-scrollbar-drag-class` | `scrollbar.dragClass` | string | the `scrollbar-drag` element's class | Class applied to the drag handle. Overrides the class donated by the `scrollbar-drag` element. |
|
|
295
|
+
| Attribute | Swiper option | Values | Default | Description |
|
|
296
|
+
| ---------------------------------------------- | ---------------------------------- | --------------------- | ----------------------------- | ---------------------------------------------------------------------- |
|
|
297
|
+
| `waterfall-scrollbar-enabled` | `scrollbar.enabled` | boolean | _(auto)_ | Set to `false` to turn the scrollbar off even when the element exists. |
|
|
298
|
+
| `waterfall-scrollbar-draggable` | `scrollbar.draggable` | boolean | `false` | Lets the user drag the scrollbar handle. |
|
|
299
|
+
| `waterfall-scrollbar-hide` | `scrollbar.hide` | boolean | `false` | Hides the scrollbar after the user stops interacting. |
|
|
300
|
+
| `waterfall-scrollbar-snap-on-release` | `scrollbar.snapOnRelease` | boolean | `true` | Snaps to the nearest slide when the handle is released. |
|
|
301
|
+
| `waterfall-scrollbar-drag-size` | `scrollbar.dragSize` | number (px) \| `auto` | `auto` | Size of the drag handle. |
|
|
302
|
+
| `waterfall-scrollbar-horizontal-class` | `scrollbar.horizontalClass` | string | `swiper-scrollbar-horizontal` | Class added for horizontal sliders. |
|
|
303
|
+
| `waterfall-scrollbar-vertical-class` | `scrollbar.verticalClass` | string | `swiper-scrollbar-vertical` | Class added for vertical sliders. |
|
|
304
|
+
| `waterfall-scrollbar-lock-class` | `scrollbar.lockClass` | string | `swiper-scrollbar-lock` | Class added when the scrollbar is locked (not enough slides). |
|
|
305
|
+
| `waterfall-scrollbar-scrollbar-disabled-class` | `scrollbar.scrollbarDisabledClass` | string | `swiper-scrollbar-disabled` | Class added when the scrollbar is disabled. |
|
|
307
306
|
<!-- /reference:scrollbar:0 -->
|
|
308
307
|
|
|
309
308
|
### Effects
|
|
@@ -677,18 +676,19 @@ Moves elements from elsewhere on the page into a Waterfall when the page loads,
|
|
|
677
676
|
Elements are identified with the `waterfall-el` attribute and must be placed **inside** the `[waterfall]` wrapper, so each slider finds its own controls.
|
|
678
677
|
|
|
679
678
|
<!-- reference:element-reference:0 -->
|
|
680
|
-
| `waterfall-el` value
|
|
681
|
-
|
|
|
682
|
-
| `navigation-next`
|
|
683
|
-
| `navigation-prev`
|
|
684
|
-
| `pagination`
|
|
685
|
-
| `pagination-bullet`
|
|
686
|
-
| `
|
|
687
|
-
| `scrollbar
|
|
688
|
-
| `
|
|
689
|
-
| `
|
|
690
|
-
| `autoplay-control
|
|
691
|
-
| `autoplay-control-
|
|
679
|
+
| `waterfall-el` value | Purpose |
|
|
680
|
+
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
681
|
+
| `navigation-next` | Next slide button. Enables navigation. |
|
|
682
|
+
| `navigation-prev` | Previous slide button. Enables navigation. |
|
|
683
|
+
| `pagination` | Pagination container. Enables pagination. |
|
|
684
|
+
| `pagination-bullet` | Optional bullet template. Donates its **tag name** and its **classes** to every generated bullet. |
|
|
685
|
+
| `pagination-bullet-active` | Optional active-bullet template beside `pagination-bullet`. Donates the **one class it adds** on top of that bullet to the active bullet. |
|
|
686
|
+
| `scrollbar` | Scrollbar track. Enables the scrollbar. |
|
|
687
|
+
| `scrollbar-drag` | Optional drag handle template inside `scrollbar`. Donates its **classes** to the handle, which Swiper then finds by those classes and reuses in place. |
|
|
688
|
+
| `slide-count` | Placed inside a slide; its text is replaced with that slide's 1-based number. |
|
|
689
|
+
| `autoplay-control` | Play/pause button. See [Autoplay Control Button](#autoplay-control-button). |
|
|
690
|
+
| `autoplay-control-play` | Icon shown while autoplay is paused. |
|
|
691
|
+
| `autoplay-control-pause` | Icon shown while autoplay is playing. |
|
|
692
692
|
<!-- /reference:element-reference:0 -->
|
|
693
693
|
|
|
694
694
|
## JavaScript API
|
|
@@ -718,6 +718,20 @@ npm install
|
|
|
718
718
|
npm run build
|
|
719
719
|
```
|
|
720
720
|
|
|
721
|
+
| Script | What it does |
|
|
722
|
+
| ----------------------- | -------------------------------------------------------------------------------------------- |
|
|
723
|
+
| `npm run build` | Builds both bundles, syncs the version above, and regenerates the reference tables. |
|
|
724
|
+
| `npm run reference` | Regenerates the tables in this file from `scripts/reference-data.json`. |
|
|
725
|
+
| `npm run reference:check` | The non-writing form, for CI. |
|
|
726
|
+
| `npm run tsc` | Typecheck. |
|
|
727
|
+
| `npm run lint` | Lint. |
|
|
728
|
+
|
|
729
|
+
`scripts/reference-data.json` is the source of truth for the tables above — edit it, not the generated
|
|
730
|
+
markdown. The same script audits those tables against the constants in `src/lib` and **fails the build**
|
|
731
|
+
if a module reads an attribute the docs do not describe, or if a documented attribute has no constant
|
|
732
|
+
behind it. A constant that is neither read nor documented only warns, so a new dead export shows up
|
|
733
|
+
without breaking anything.
|
|
734
|
+
|
|
721
735
|
## Built With
|
|
722
736
|
|
|
723
737
|
- [SwiperJS <!-- swiper-version -->14.4.0<!-- /swiper-version -->](https://github.com/nolimits4web/swiper)
|
package/dist/attributes.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const l = "waterfall", T = "waterfall-debug-mode", e = "waterfall-a11y-container-message", _ = "waterfall-a11y-container-role", A = "waterfall-a11y-container-role-description-message", s = "waterfall-a11y-enabled", o = "waterfall-a11y-first-slide-message", E = "waterfall-a11y-id", n = "waterfall-a11y-item-role-description-message", r = "waterfall-a11y-last-slide-message", R = "waterfall-a11y-next-slide-message", c = "waterfall-a11y-notification-class", S = "waterfall-a11y-pagination-bullet-message", L = "waterfall-a11y-prev-slide-message", O = "waterfall-a11y-scroll-on-focus", f = "waterfall-a11y-slide-label-message", I = "waterfall-a11y-slide-role", i = ["mobile", "mobile-large", "tablet", "desktop", "desktop-small", "desktop-large"], w = (a, t) => `${a}-${t}`, N = "waterfall-controller-control", C = "waterfall-controller-by", d = "waterfall-controller-inverse", D = "waterfall-fade-effect-mode", p = "waterfall-coverflow-effect-depth", P = "waterfall-coverflow-effect-modifier", M = "waterfall-coverflow-effect-rotate", m = "waterfall-coverflow-effect-scale", U = "waterfall-coverflow-effect-slide-shadows", u = "waterfall-coverflow-effect-stretch", F = "waterfall-flip-effect-limit-rotation", g = "waterfall-flip-effect-slide-shadows", G = "waterfall-cube-effect-shadow", b = "waterfall-cube-effect-shadow-offset", B = "waterfall-cube-effect-shadow-scale", h = "waterfall-cube-effect-slide-shadows", H = "waterfall-cards-effect-per-slide-offset", v = "waterfall-cards-effect-per-slide-rotate", V = "waterfall-cards-effect-rotate", W = "waterfall-cards-effect-slide-shadows", y = "waterfall-allow-slide-next", Y = "waterfall-allow-slide-prev", k = "waterfall-allow-touch-move", K = "waterfall-auto-height", x = "waterfall-breakpoints-base", X = "waterfall-center-insufficient-slides", z = "waterfall-centered-slides", Z = "waterfall-centered-slides-bounds", q = "waterfall-container-modifier-class", Q = "waterfall-create-elements", $ = "waterfall-css-mode", j = "waterfall-direction", J = "waterfall-edge-swipe-detection", aa = "waterfall-edge-swipe-threshold", ta = "waterfall-effect", la = "waterfall-enabled", Ta = "waterfall-events-prefix", ea = "waterfall-focusable-elements", _a = "waterfall-follow-finger", Aa = "waterfall-grab-cursor", sa = "waterfall-height", oa = "waterfall-init", Ea = "waterfall-initial-slide", na = "waterfall-lazy-preload-prev-next", ra = "waterfall-lazy-preloader-class", Ra = "waterfall-long-swipes", ca = "waterfall-long-swipes-ms", Sa = "waterfall-long-swipes-ratio", La = "waterfall-loop", Oa = "waterfall-loop-add-blank-slides", fa = "waterfall-loop-additional-slides", Ia = "waterfall-loop-prevents-sliding", ia = "waterfall-max-backface-hidden-slides", wa = "waterfall-nested", Na = "waterfall-no-swiping", Ca = "waterfall-no-swiping-class", da = "waterfall-no-swiping-selector", Da = "waterfall-normalize-slide-index", pa = "waterfall-observe-parents", Pa = "waterfall-observe-slide-children", Ma = "waterfall-observer", ma = "waterfall-one-way-movement", Ua = "waterfall-passive-listeners", ua = "waterfall-prevent-clicks", Fa = "waterfall-prevent-clicks-propagation", ga = "waterfall-prevent-interaction-on-transition", Ga = "waterfall-resistance", ba = "waterfall-resistance-ratio", Ba = "waterfall-resize-observer", ha = "waterfall-rewind", Ha = "waterfall-round-lengths", va = "waterfall-run-callbacks-on-init", Va = "waterfall-set-wrapper-size", Wa = "waterfall-short-swipes", ya = "waterfall-simulate-touch", Ya = "waterfall-slide-active-class", ka = "waterfall-slide-class", Ka = "waterfall-slide-blank-class", xa = "waterfall-slide-fully-visible-class", Xa = "waterfall-slide-next-class", za = "waterfall-slide-prev-class", Za = "waterfall-slide-to-clicked-slide", qa = "waterfall-slide-visible-class", Qa = "waterfall-slides-offset-after", $a = "waterfall-slides-offset-before", ja = "waterfall-slides-per-group", Ja = "waterfall-slides-per-group-auto", at = "waterfall-slides-per-group-skip", tt = "waterfall-slides-per-view", lt = "waterfall-space-between", Tt = "waterfall-speed", et = "waterfall-swipe-handler", _t = "waterfall-swiper-element-node-name", At = "waterfall-threshold", st = "waterfall-touch-angle", ot = "waterfall-touch-events-target", Et = "waterfall-touch-move-stop-propagation", nt = "waterfall-touch-ratio", rt = "waterfall-touch-release-on-edges", Rt = "waterfall-touch-start-force-prevent-default", ct = "waterfall-touch-start-prevent-default", St = "waterfall-unique-nav-elements", Lt = "waterfall-update-on-window-resize", Ot = "waterfall-url", ft = "waterfall-user-agent", It = "waterfall-virtual-translate", it = "waterfall-watch-overflow", wt = "waterfall-watch-slides-progress", Nt = "waterfall-width", Ct = "waterfall-wrapper-class", dt = "waterfall-hash-navigation-replace-state", Dt = "waterfall-hash-navigation-watch-state", pt = "waterfall-history-keep-query", Pt = "waterfall-history-key", Mt = "waterfall-history-replace-state", mt = "waterfall-history-root", Ut = "waterfall-keyboard-enabled", ut = "waterfall-keyboard-only-in-viewport", Ft = "waterfall-keyboard-page-up-down", gt = "waterfall-mousewheel-enabled", Gt = "waterfall-mousewheel-events-target", bt = "waterfall-mousewheel-force-to-axis", Bt = "waterfall-mousewheel-invert", ht = "waterfall-mousewheel-no-mousewheel-class", Ht = "waterfall-mousewheel-release-on-edges", vt = "waterfall-mousewheel-sensitivity", Vt = "waterfall-mousewheel-threshold-delta", Wt = "waterfall-mousewheel-threshold-time", yt = "waterfall-grid-rows", Yt = "waterfall-grid-fill", kt = "waterfall-navigation-disabled-class", Kt = "waterfall-navigation-enabled", xt = "waterfall-navigation-hidden-class", Xt = "waterfall-navigation-hide-on-click", zt = "waterfall-navigation-lock-class", Zt = "waterfall-navigation-navigation-disabled-class", qt = "waterfall-pagination-type", Qt = "waterfall-pagination-clickable", $t = "waterfall-pagination-clickable-class", jt = "waterfall-pagination-current-class", Jt = "waterfall-pagination-dynamic-bullets", al = "waterfall-pagination-dynamic-main-bullets", tl = "waterfall-pagination-enabled", ll = "waterfall-pagination-hidden-class", Tl = "waterfall-pagination-hide-on-click", el = "waterfall-pagination-horizontal-class", _l = "waterfall-pagination-lock-class", Al = "waterfall-pagination-modifier-class", sl = "waterfall-pagination-pagination-disabled-class", ol = "waterfall-pagination-progressbar-fill-class", El = "waterfall-pagination-progressbar-opposite", nl = "waterfall-pagination-progressbar-opposite-class", rl = "waterfall-pagination-total-class", Rl = "waterfall-pagination-vertical-class", cl = "waterfall-autoplay", Sl = "waterfall-smooth-autoplay", Ll = "waterfall-autoplay-delay", Ol = "waterfall-autoplay-disable-on-interaction", fl = "waterfall-autoplay-reverse-direction", Il = "waterfall-autoplay-pause-on-mouse-enter", il = "waterfall-autoplay-stop-on-last-slide", wl = "waterfall-autoplay-wait-for-transition", Nl = "waterfall-autoplay-control-enabled", Cl = "waterfall-autoplay-control-default-state", dl = "waterfall-free-mode-enabled", Dl = "waterfall-free-mode-minimum-velocity", pl = "waterfall-free-mode-momentum", Pl = "waterfall-free-mode-momentum-bounce", Ml = "waterfall-free-mode-momentum-bounce-ratio", ml = "waterfall-free-mode-momentum-ratio", Ul = "waterfall-free-mode-momentum-velocity-ratio", ul = "waterfall-free-mode-sticky", Fl = "waterfall-scrollbar-drag-size", gl = "waterfall-scrollbar-draggable", Gl = "waterfall-scrollbar-enabled", bl = "waterfall-scrollbar-hide", Bl = "waterfall-scrollbar-horizontal-class", hl = "waterfall-scrollbar-lock-class", Hl = "waterfall-scrollbar-scrollbar-disabled-class", vl = "waterfall-scrollbar-vertical-class", Vl = "waterfall-scrollbar-snap-on-release", Wl = "waterfall-thumbs-swiper", yl = "waterfall-thumbs-auto-scroll-offset", Yl = "waterfall-thumbs-multiple-active-thumbs", kl = "waterfall-thumbs-slide-thumb-active-class", Kl = "waterfall-thumbs-thumbs-container-class", xl = "waterfall-add-slide", Xl = "waterfall-add-index", zl = "waterfall-append-slide", Zl = "waterfall-prepend-slide", ql = "waterfall-remove-slide", Ql = "waterfall-remove-index", $l = "waterfall-zoom-container-class", jl = "waterfall-zoom-limit-to-original-size", Jl = "waterfall-zoom-max-ratio", aT = "waterfall-zoom-min-ratio", tT = "waterfall-zoom-pan-on-mouse-move", lT = "waterfall-zoom-toggle", TT = "waterfall-zoom-zoomed-slide-class", eT = "waterfall-parallax-enabled", _T = "data-swiper-parallax", AT = "data-swiper-parallax-x", sT = "data-swiper-parallax-y", oT = "data-swiper-parallax-scale", ET = "data-swiper-parallax-opacity", nT = "data-swiper-parallax-rotate", rT = "data-swiper-parallax-duration", RT = "waterfall-callback-slide-change", cT = "waterfall-el", ST = "pagination", LT = "pagination-bullet", OT = "pagination-bullet-active", fT = "navigation-next", IT = "navigation-prev", iT = "scrollbar", wT = "scrollbar-drag", NT = "slide-count", CT = "autoplay-control", dT = "autoplay-control-pause", DT = "autoplay-control-play";
|
|
2
2
|
export {
|
|
3
3
|
e as ATTR_A11Y_CONTAINER_MESSAGE,
|
|
4
4
|
_ as ATTR_A11Y_CONTAINER_ROLE,
|
|
@@ -18,18 +18,18 @@ export {
|
|
|
18
18
|
y as ATTR_ALLOW_SLIDE_NEXT,
|
|
19
19
|
Y as ATTR_ALLOW_SLIDE_PREV,
|
|
20
20
|
k as ATTR_ALLOW_TOUCH_MOVE,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
21
|
+
cl as ATTR_AUTOPLAY,
|
|
22
|
+
Cl as ATTR_AUTOPLAY_CONTROL_DEFAULT_STATE,
|
|
23
|
+
Nl as ATTR_AUTOPLAY_CONTROL_ENABLED,
|
|
24
|
+
Ll as ATTR_AUTOPLAY_DELAY,
|
|
25
|
+
Ol as ATTR_AUTOPLAY_DISABLE_ON_INTERACTION,
|
|
26
|
+
Il as ATTR_AUTOPLAY_PAUSE_ON_MOUSE_ENTER,
|
|
27
|
+
fl as ATTR_AUTOPLAY_REVERSE_DIRECTION,
|
|
28
|
+
il as ATTR_AUTOPLAY_STOP_ON_LAST_SLIDE,
|
|
29
|
+
wl as ATTR_AUTOPLAY_WAIT_FOR_TRANSITION,
|
|
30
30
|
K as ATTR_AUTO_HEIGHT,
|
|
31
31
|
x as ATTR_BREAKPOINTS_BASE,
|
|
32
|
-
|
|
32
|
+
RT as ATTR_CALLBACK_SLIDE_CHANGE,
|
|
33
33
|
H as ATTR_CARDS_EFFECT_PER_SLIDE_OFFSET,
|
|
34
34
|
v as ATTR_CARDS_EFFECT_PER_SLIDE_ROTATE,
|
|
35
35
|
V as ATTR_CARDS_EFFECT_ROTATE,
|
|
@@ -57,37 +57,37 @@ export {
|
|
|
57
57
|
j as ATTR_DIRECTION,
|
|
58
58
|
J as ATTR_EDGE_SWIPE_DETECTION,
|
|
59
59
|
aa as ATTR_EDGE_SWIPE_THRESHOLD,
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
ta as ATTR_EFFECT,
|
|
61
|
+
la as ATTR_ENABLED,
|
|
62
62
|
Ta as ATTR_EVENTS_PREFIX,
|
|
63
63
|
D as ATTR_FADE_EFFECT_MODE,
|
|
64
64
|
F as ATTR_FLIP_EFFECT_LIMIT_ROTATION,
|
|
65
65
|
g as ATTR_FLIP_EFFECT_SLIDE_SHADOWS,
|
|
66
66
|
ea as ATTR_FOCUSABLE_ELEMENTS,
|
|
67
67
|
_a as ATTR_FOLLOW_FINGER,
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
68
|
+
dl as ATTR_FREE_MODE_ENABLED,
|
|
69
|
+
Dl as ATTR_FREE_MODE_MINIMUM_VELOCITY,
|
|
70
|
+
pl as ATTR_FREE_MODE_MOMENTUM,
|
|
71
|
+
Pl as ATTR_FREE_MODE_MOMENTUM_BOUNCE,
|
|
72
|
+
Ml as ATTR_FREE_MODE_MOMENTUM_BOUNCE_RATIO,
|
|
73
|
+
ml as ATTR_FREE_MODE_MOMENTUM_RATIO,
|
|
74
|
+
Ul as ATTR_FREE_MODE_MOMENTUM_VELOCITY_RATIO,
|
|
75
|
+
ul as ATTR_FREE_MODE_STICKY,
|
|
76
76
|
Aa as ATTR_GRAB_CURSOR,
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
77
|
+
Yt as ATTR_GRID_FILL,
|
|
78
|
+
yt as ATTR_GRID_ROWS,
|
|
79
|
+
dt as ATTR_HASH_NAVIGATION_REPLACE_STATE,
|
|
80
|
+
Dt as ATTR_HASH_NAVIGATION_WATCH_STATE,
|
|
81
81
|
sa as ATTR_HEIGHT,
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
82
|
+
pt as ATTR_HISTORY_KEEP_QUERY,
|
|
83
|
+
Pt as ATTR_HISTORY_KEY,
|
|
84
|
+
Mt as ATTR_HISTORY_REPLACE_STATE,
|
|
85
|
+
mt as ATTR_HISTORY_ROOT,
|
|
86
86
|
oa as ATTR_INIT,
|
|
87
87
|
Ea as ATTR_INITIAL_SLIDE,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
88
|
+
Ut as ATTR_KEYBOARD_ENABLED,
|
|
89
|
+
ut as ATTR_KEYBOARD_ONLY_IN_VIEWPORT,
|
|
90
|
+
Ft as ATTR_KEYBOARD_PAGE_UP_DOWN,
|
|
91
91
|
ra as ATTR_LAZY_PRELOADER_CLASS,
|
|
92
92
|
na as ATTR_LAZY_PRELOAD_PREV_NEXT,
|
|
93
93
|
Ra as ATTR_LONG_SWIPES,
|
|
@@ -97,28 +97,28 @@ export {
|
|
|
97
97
|
fa as ATTR_LOOP_ADD_ADDITIONAL_SLIDES,
|
|
98
98
|
Oa as ATTR_LOOP_ADD_BLANK_SLIDES,
|
|
99
99
|
Ia as ATTR_LOOP_PREVENTS_SLIDING,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
100
|
+
Xl as ATTR_MANIPULATION_ADD_INDEX,
|
|
101
|
+
xl as ATTR_MANIPULATION_ADD_SLIDE,
|
|
102
|
+
zl as ATTR_MANIPULATION_APPEND_SLIDE,
|
|
103
|
+
Zl as ATTR_MANIPULATION_PREPEND_SLIDE,
|
|
104
|
+
Ql as ATTR_MANIPULATION_REMOVE_INDEX,
|
|
105
|
+
ql as ATTR_MANIPULATION_REMOVE_SLIDE,
|
|
106
106
|
ia as ATTR_MAX_BACKFACE_HIDDEN_SLIDES,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
107
|
+
gt as ATTR_MOUSEWHEEL_ENABLED,
|
|
108
|
+
Gt as ATTR_MOUSEWHEEL_EVENTS_TARGET,
|
|
109
|
+
bt as ATTR_MOUSEWHEEL_FORCE_TO_AXIS,
|
|
110
|
+
Bt as ATTR_MOUSEWHEEL_INVERT,
|
|
111
|
+
ht as ATTR_MOUSEWHEEL_NO_MOUSEWHEEL_CLASS,
|
|
112
|
+
Ht as ATTR_MOUSEWHEEL_RELEASE_ON_EDGES,
|
|
113
|
+
vt as ATTR_MOUSEWHEEL_SENSITIVITY,
|
|
114
|
+
Vt as ATTR_MOUSEWHEEL_THRESHOLD_DELTA,
|
|
115
|
+
Wt as ATTR_MOUSEWHEEL_THRESHOLD_TIME,
|
|
116
|
+
kt as ATTR_NAVIGATION_DISABLED_CLASS,
|
|
117
|
+
Kt as ATTR_NAVIGATION_ENABLED,
|
|
118
|
+
xt as ATTR_NAVIGATION_HIDDEN_CLASS,
|
|
119
|
+
Xt as ATTR_NAVIGATION_HIDE_ON_CLICK,
|
|
120
|
+
zt as ATTR_NAVIGATION_LOCK_CLASS,
|
|
121
|
+
Zt as ATTR_NAVIGATION_NAVIGATION_DISABLED_CLASS,
|
|
122
122
|
wa as ATTR_NESTED,
|
|
123
123
|
Da as ATTR_NORMALIZE_SLIDE_INDEX,
|
|
124
124
|
Na as ATTR_NO_SWIPING,
|
|
@@ -128,34 +128,32 @@ export {
|
|
|
128
128
|
Pa as ATTR_OBSERVE_SLIDE_CHILDREN,
|
|
129
129
|
pa as ATTR_OBSERVE_SLIDE_PARENTS,
|
|
130
130
|
ma as ATTR_ONE_WAY_MOVEMENT,
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
ET as ATTR_PARALLAX_X,
|
|
158
|
-
nT as ATTR_PARALLAX_Y,
|
|
131
|
+
Qt as ATTR_PAGINATION_CLICKABLE,
|
|
132
|
+
$t as ATTR_PAGINATION_CLICKABLE_CLASS,
|
|
133
|
+
jt as ATTR_PAGINATION_CURRENT_CLASS,
|
|
134
|
+
Jt as ATTR_PAGINATION_DYNAMIC_BULLETS,
|
|
135
|
+
al as ATTR_PAGINATION_DYNAMIC_MAIN_BULLETS,
|
|
136
|
+
tl as ATTR_PAGINATION_ENABLED,
|
|
137
|
+
ll as ATTR_PAGINATION_HIDDEN_CLASS,
|
|
138
|
+
Tl as ATTR_PAGINATION_HIDE_ON_CLICK,
|
|
139
|
+
el as ATTR_PAGINATION_HORIZONTAL_CLASS,
|
|
140
|
+
_l as ATTR_PAGINATION_LOCK_CLASS,
|
|
141
|
+
Al as ATTR_PAGINATION_MODIFIER_CLASS,
|
|
142
|
+
sl as ATTR_PAGINATION_PAGINATION_DISABLED_CLASS,
|
|
143
|
+
ol as ATTR_PAGINATION_PROGRESSBAR_FILL_CLASS,
|
|
144
|
+
El as ATTR_PAGINATION_PROGRESSBAR_OPPOSITE,
|
|
145
|
+
nl as ATTR_PAGINATION_PROGRESSBAR_OPPOSITE_CLASS,
|
|
146
|
+
rl as ATTR_PAGINATION_TOTAL_CLASS,
|
|
147
|
+
qt as ATTR_PAGINATION_TYPE,
|
|
148
|
+
Rl as ATTR_PAGINATION_VERTICAL_CLASS,
|
|
149
|
+
_T as ATTR_PARALLAX,
|
|
150
|
+
rT as ATTR_PARALLAX_DURATION,
|
|
151
|
+
eT as ATTR_PARALLAX_ENABLED,
|
|
152
|
+
ET as ATTR_PARALLAX_OPACITY,
|
|
153
|
+
nT as ATTR_PARALLAX_ROTATE,
|
|
154
|
+
oT as ATTR_PARALLAX_SCALE,
|
|
155
|
+
AT as ATTR_PARALLAX_X,
|
|
156
|
+
sT as ATTR_PARALLAX_Y,
|
|
159
157
|
Ua as ATTR_PASSIVE_LISTENERS,
|
|
160
158
|
ua as ATTR_PREVENT_CLICKS,
|
|
161
159
|
Fa as ATTR_PREVENT_CLICKS_PROPAGATION,
|
|
@@ -166,16 +164,15 @@ export {
|
|
|
166
164
|
ha as ATTR_REWIND,
|
|
167
165
|
Ha as ATTR_ROUND_LENGTHS,
|
|
168
166
|
va as ATTR_RUN_CALLBACKS_ON_INIT,
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
yt as ATTR_SCROLLBAR_VERTICAL_CLASS,
|
|
167
|
+
gl as ATTR_SCROLLBAR_DRAGGABLE,
|
|
168
|
+
Fl as ATTR_SCROLLBAR_DRAG_SIZE,
|
|
169
|
+
Gl as ATTR_SCROLLBAR_ENABLED,
|
|
170
|
+
bl as ATTR_SCROLLBAR_HIDE,
|
|
171
|
+
Bl as ATTR_SCROLLBAR_HORIZONTAL_CLASS,
|
|
172
|
+
hl as ATTR_SCROLLBAR_LOCK_CLASS,
|
|
173
|
+
Hl as ATTR_SCROLLBAR_SCROLLBAR_DISABLED_CLASS,
|
|
174
|
+
Vl as ATTR_SCROLLBAR_SNAP_ON_RELEASE,
|
|
175
|
+
vl as ATTR_SCROLLBAR_VERTICAL_CLASS,
|
|
179
176
|
Va as ATTR_SET_WRAPPER_SIZE,
|
|
180
177
|
Wa as ATTR_SHORT_SWIPES,
|
|
181
178
|
ya as ATTR_SIMULATE_TOUCH,
|
|
@@ -183,8 +180,8 @@ export {
|
|
|
183
180
|
$a as ATTR_SLIDES_OFFSET_BEFORE,
|
|
184
181
|
ja as ATTR_SLIDES_PER_GROUP,
|
|
185
182
|
Ja as ATTR_SLIDES_PER_GROUP_AUTO,
|
|
186
|
-
|
|
187
|
-
|
|
183
|
+
at as ATTR_SLIDES_PER_GROUP_SKIP,
|
|
184
|
+
tt as ATTR_SLIDES_PER_VIEW,
|
|
188
185
|
Ya as ATTR_SLIDE_ACTIVE_CLASS,
|
|
189
186
|
Ka as ATTR_SLIDE_BLANK_CLASS,
|
|
190
187
|
ka as ATTR_SLIDE_CLASS,
|
|
@@ -193,53 +190,54 @@ export {
|
|
|
193
190
|
za as ATTR_SLIDE_PREV_CLASS,
|
|
194
191
|
Za as ATTR_SLIDE_TO_CLICKED_SLIDE,
|
|
195
192
|
qa as ATTR_SLIDE_VISIBLE_CLASS,
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
193
|
+
Sl as ATTR_SMOOTH_AUTOPLAY,
|
|
194
|
+
lt as ATTR_SPACE_BETWEEN,
|
|
195
|
+
Tt as ATTR_SPEED,
|
|
196
|
+
_t as ATTR_SWIPER_ELEMENT_NODE_NAME,
|
|
197
|
+
et as ATTR_SWIPE_HANDLER,
|
|
198
|
+
At as ATTR_THRESHOLD,
|
|
199
|
+
yl as ATTR_THUMBS_AUTO_SCROLL_OFFSET,
|
|
200
|
+
Yl as ATTR_THUMBS_MULTIPLE_ACTIVE_THUMBS,
|
|
201
|
+
kl as ATTR_THUMBS_SLIDE_THUMB_ACTIVE_CLASS,
|
|
202
|
+
Wl as ATTR_THUMBS_SWIPER,
|
|
203
|
+
Kl as ATTR_THUMBS_THUMBS_CONTAINER_CLASS,
|
|
204
|
+
st as ATTR_TOUCH_ANGLE,
|
|
205
|
+
ot as ATTR_TOUCH_EVENTS_TARGET,
|
|
206
|
+
Et as ATTR_TOUCH_MOVE_STOP_PROPAGATION,
|
|
207
|
+
nt as ATTR_TOUCH_RATIO,
|
|
208
|
+
rt as ATTR_TOUCH_RELEASE_ON_EDGES,
|
|
209
|
+
Rt as ATTR_TOUCH_START_FORCE_PREVENT_DEFAULT,
|
|
210
|
+
ct as ATTR_TOUCH_START_PREVENT_DEFAULT,
|
|
211
|
+
St as ATTR_UNIQUE_NAV_ELEMENTS,
|
|
212
|
+
Lt as ATTR_UPDATE_ON_WINDOW_RESIZE,
|
|
213
|
+
Ot as ATTR_URL,
|
|
214
|
+
ft as ATTR_USER_AGENT,
|
|
215
|
+
It as ATTR_VIRTUAL_TRANSLATE,
|
|
216
|
+
it as ATTR_WATCH_OVERFLOW,
|
|
217
|
+
wt as ATTR_WATCH_SLIDES_PROGRESS,
|
|
218
|
+
l as ATTR_WATERFALL,
|
|
219
|
+
cT as ATTR_WATERFALL_ELEMENT,
|
|
220
|
+
Nt as ATTR_WIDTH,
|
|
221
|
+
Ct as ATTR_WRAPPER_CLASS,
|
|
222
|
+
$l as ATTR_ZOOM_CONTAINER_CLASS,
|
|
223
|
+
jl as ATTR_ZOOM_LIMIT_TO_ORIGINAL_SIZE,
|
|
224
|
+
Jl as ATTR_ZOOM_MAX_RATIO,
|
|
225
|
+
aT as ATTR_ZOOM_MIN_RATIO,
|
|
226
|
+
tT as ATTR_ZOOM_PAN_ON_MOUSE_MOVE,
|
|
227
|
+
lT as ATTR_ZOOM_TOGGLE,
|
|
228
|
+
TT as ATTR_ZOOM_ZOOMED_SLIDE_CLASS,
|
|
232
229
|
i as BREAKPOINTS,
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
230
|
+
CT as EL_AUTOPLAY_CONTROL,
|
|
231
|
+
dT as EL_AUTOPLAY_CONTROL_PAUSE,
|
|
232
|
+
DT as EL_AUTOPLAY_CONTROL_PLAY,
|
|
233
|
+
fT as EL_NAVIGATION_NEXT,
|
|
234
|
+
IT as EL_NAVIGATION_PREV,
|
|
235
|
+
ST as EL_PAGINATION,
|
|
236
|
+
LT as EL_PAGINATION_BULLET,
|
|
237
|
+
OT as EL_PAGINATION_BULLET_ACTIVE,
|
|
238
|
+
iT as EL_SCROLLBAR,
|
|
239
|
+
wT as EL_SCROLLBAR_DRAG,
|
|
240
|
+
NT as EL_SLIDE_COUNT,
|
|
243
241
|
w as breakpointAttr
|
|
244
242
|
};
|
|
245
243
|
//# sourceMappingURL=attributes.js.map
|