@total_onion/onion-library 2.0.192 → 2.0.193
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.
|
@@ -63,9 +63,12 @@ export default function carouselmultilayoutv3Js(options = {}) {
|
|
|
63
63
|
Number(dataAttributes.centeractiveslideportrait) === 1;
|
|
64
64
|
const centerActiveSlideMobile =
|
|
65
65
|
Number(dataAttributes.centeractiveslidemobile) === 1;
|
|
66
|
-
const centerSlidesBounds =
|
|
67
|
-
|
|
68
|
-
const
|
|
66
|
+
const centerSlidesBounds =
|
|
67
|
+
Number(dataAttributes.centerslidesbounds) === 1;
|
|
68
|
+
const centerSlidesBoundsPortrait =
|
|
69
|
+
Number(dataAttributes.centerslidesboundsportrait) === 1;
|
|
70
|
+
const centerSlidesBoundsMobile =
|
|
71
|
+
Number(dataAttributes.centerslidesboundsmobile) === 1;
|
|
69
72
|
const centerInsufficientSlidesDesktop =
|
|
70
73
|
Number(dataAttributes.centerinsufficientslidesdesktop) === 1;
|
|
71
74
|
const centerInsufficientSlidesPortrait =
|
|
@@ -197,8 +200,14 @@ export default function carouselmultilayoutv3Js(options = {}) {
|
|
|
197
200
|
loop: totalSlides > 1 ? loopSlides : false
|
|
198
201
|
},
|
|
199
202
|
1440: {
|
|
203
|
+
centeredSlides: centerActiveSlide,
|
|
204
|
+
centerInsufficientSlides:
|
|
205
|
+
centerInsufficientSlidesDesktop,
|
|
206
|
+
centeredSlidesBounds: centerSlidesBounds,
|
|
200
207
|
slidesPerView: slidesDesktopFull,
|
|
201
208
|
spaceBetween: spaceBetweenSlidesDesktopFull,
|
|
209
|
+
slidesOffsetBefore: slidesOffsetDesktopBefore,
|
|
210
|
+
slidesOffsetAfter: slidesOffsetDesktopAfter,
|
|
202
211
|
loop: totalSlides > 1 ? loopSlides : false
|
|
203
212
|
}
|
|
204
213
|
},
|