j1-template 2024.3.16 → 2024.3.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/data/amplitude.html +132 -61
- data/assets/data/banner.html +1 -1
- data/assets/data/cookieconsent.html +1 -1
- data/assets/data/docsearch.html +1 -1
- data/assets/data/fab.html +1 -1
- data/assets/data/footer.html +1 -1
- data/assets/data/galeries.html +1 -1
- data/assets/data/gallery_customizer.html +1 -1
- data/assets/data/gemini-ui.html +1 -1
- data/assets/data/iframes.html +1 -1
- data/assets/data/masonry.html +1 -1
- data/assets/data/masterslider.html +1 -1
- data/assets/data/menu.html +1 -1
- data/assets/data/mmenu.html +1 -1
- data/assets/data/mmenu_sidebar.html +1 -1
- data/assets/data/mmenu_toc.html +1 -1
- data/assets/data/panel.html +1 -1
- data/assets/data/quicklinks.html +1 -1
- data/assets/data/rtext_resizer.html +1 -1
- data/assets/data/slick.html +1 -1
- data/assets/data/speak2me.html +1 -1
- data/assets/data/swiper.html +313 -0
- data/assets/theme/j1/adapter/js/amplitude.30.js +1177 -0
- data/assets/theme/j1/adapter/js/amplitude.js +152 -121
- data/assets/theme/j1/adapter/js/j1.js +3 -3
- data/assets/theme/j1/adapter/js/masterslider.js +2 -1
- data/assets/theme/j1/adapter/js/swiper.js +231 -0
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/amplitude.css +13 -3
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/amplitude.min.css +1 -1
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.css +53 -6
- data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.min.css +2 -1
- data/assets/theme/j1/modules/amplitudejs/js/tech/ytp.15.js +1594 -0
- data/assets/theme/j1/modules/amplitudejs/js/tech/ytp.js +1617 -89
- data/assets/theme/j1/modules/amplitudejs/js/visualizations/bar.js +1 -1
- data/assets/theme/j1/modules/amplitudejs/js/visualizations/circular-equalizer.js +31 -1
- data/assets/theme/j1/modules/amplitudejs/js/visualizations/frequency-analyzer.js +1 -1
- data/assets/theme/j1/modules/amplitudejs/js/visualizations/michael-bromley.js +1 -1
- data/assets/theme/j1/modules/amplitudejs/js/visualizations/template.js +1 -1
- data/assets/theme/j1/modules/photoswipe/.version_5.4.4 +6 -0
- data/assets/theme/j1/modules/photoswipe/LICENSE +21 -0
- data/assets/theme/j1/modules/photoswipe/README.md +32 -0
- data/assets/theme/j1/modules/photoswipe/css/org/photoswipe-dynamic-caption-plugin.umd.min.js +5 -0
- data/assets/theme/j1/modules/photoswipe/css/org/photoswipe.css +420 -0
- data/assets/theme/j1/modules/photoswipe/css/photoswipe-caption-plugin.css +67 -0
- data/assets/theme/j1/modules/photoswipe/css/photoswipe-caption-plugin.min.css +16 -0
- data/assets/theme/j1/modules/photoswipe/css/photoswipe.css +376 -0
- data/assets/theme/j1/modules/photoswipe/css/photoswipe.min.css +17 -0
- data/assets/theme/j1/modules/photoswipe/css/scss/photoswipe.scss +427 -0
- data/assets/theme/j1/modules/photoswipe/example/photoswipe-caption-plugin.html +237 -0
- data/assets/theme/j1/modules/photoswipe/example/test-gallery.html +36 -0
- data/assets/theme/j1/modules/photoswipe/js/README.md +43 -0
- data/assets/theme/j1/modules/photoswipe/js/photoswipe-caption-plugin.min.js +5 -0
- data/assets/theme/j1/modules/photoswipe/js/photoswipe-core.min.js +18 -0
- data/assets/theme/j1/modules/photoswipe/js/photoswipe-lightbox.min.js +18 -0
- data/assets/theme/j1/modules/swiper/.version_1.2.0 +15 -0
- data/assets/theme/j1/modules/swiper/LICENSE +20 -0
- data/assets/theme/j1/modules/swiper/README.md +95 -0
- data/assets/theme/j1/modules/swiper/css/swiper-bundle.css +740 -0
- data/assets/theme/j1/modules/swiper/css/swiper-bundle.min..css +17 -0
- data/assets/theme/j1/modules/swiper/css/theme/uno.css +249 -0
- data/assets/theme/j1/modules/swiper/css/theme/uno.min.css +154 -0
- data/assets/theme/j1/modules/swiper/js/swiper-bundle.js +9785 -0
- data/assets/theme/j1/modules/swiper/js/swiper-bundle.min.js +17 -0
- data/assets/theme/j1/modules/swiper/swiperjs.com-demos.url +2 -0
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/README.md +5 -5
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/modules/amplitude.yml +374 -39
- data/lib/starter_web/_data/modules/defaults/amplitude.yml +60 -35
- data/lib/starter_web/_data/modules/defaults/slick.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/swiper.yml +515 -0
- data/lib/starter_web/_data/modules/swiper.yml +227 -0
- data/lib/starter_web/_data/resources.yml +53 -1
- data/lib/starter_web/_data/templates/feed.xml +1 -1
- data/lib/starter_web/_plugins/asciidoctor/amplitude-block.rb +1 -0
- data/lib/starter_web/_plugins/asciidoctor/videojs-block.rb +0 -4
- data/lib/starter_web/_plugins/index/lunr.rb +1 -1
- data/lib/starter_web/assets/video/poster/youtube/faelle_des_bnd/der_unverzichtbare_feind.jpg +0 -0
- data/lib/starter_web/assets/video/poster/youtube/faelle_des_bnd/ein_diener_vieler_herren.jpg +0 -0
- data/lib/starter_web/assets/video/poster/youtube/the_piano/the-piano.jpg +0 -0
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/_includes/attributes.asciidoc +45 -0
- data/lib/starter_web/pages/public/_includes/documents/photoswipe/200_photoswipe_parameters.asciidoc +510 -0
- data/lib/starter_web/pages/public/_includes/documents/photoswipe/210_photoswipe_lightbox_parameters.asciidoc +98 -0
- data/lib/starter_web/pages/public/_includes/documents/photoswipe/300_caption_plugin_for_photoSwipe.asciidoc +327 -0
- data/lib/starter_web/pages/public/_includes/documents/swiper/100_swiper_features.asciidoc +50 -0
- data/lib/starter_web/pages/public/_includes/documents/swiper/100_swiper_html_layout.asciidoc +122 -0
- data/lib/starter_web/pages/public/_includes/documents/swiper/100_swiper_initialization.asciidoc +53 -0
- data/lib/starter_web/pages/public/_includes/documents/swiper/110_swiper_common_options.asciidoc +43 -0
- data/lib/starter_web/pages/public/_includes/documents/swiper/200_swiper_parameters_a_k.asciidoc +994 -0
- data/lib/starter_web/pages/public/_includes/documents/swiper/200_swiper_parameters_l_o.asciidoc +473 -0
- data/lib/starter_web/pages/public/_includes/documents/swiper/200_swiper_parameters_p_s.asciidoc +700 -0
- data/lib/starter_web/pages/public/_includes/documents/swiper/200_swiper_parameters_t_z.asciidoc +413 -0
- data/lib/starter_web/pages/public/_includes/documents/swiper/300_swiper_instance_properties.asciidoc +873 -0
- data/lib/starter_web/pages/public/_includes/documents/swiper/400_swiper_modules.asciidoc +2514 -0
- data/lib/starter_web/pages/public/_includes/documents/swiper/500_swiper_methods.asciidoc +989 -0
- data/lib/starter_web/pages/public/_includes/documents/swiper/600_swiper_events.asciidoc +1534 -0
- data/lib/starter_web/pages/public/amplitude_yt_tester.adoc +77 -63
- data/lib/starter_web/pages/public/photoswipe_api.adoc +150 -0
- data/lib/starter_web/pages/public/swiper_api.adoc +128 -0
- data/lib/starter_web/pages/public/swiper_tester.adoc +973 -0
- data/lib/starter_web/pages/public/tour/modal_extentions.adoc +12 -5
- data/lib/starter_web/pages/public/tour/play_audio.adoc +60 -5
- data/lib/starter_web/pages/public/tour/play_video.adoc +30 -0
- data/lib/starter_web/pages/public/tour/present_images.adoc +5 -5
- metadata +56 -3
- data/assets/theme/j1/modules/amplitudejs/js/tech/youtube_example.js +0 -211
data/lib/starter_web/pages/public/_includes/documents/swiper/200_swiper_parameters_p_s.asciidoc
ADDED
@@ -0,0 +1,700 @@
|
|
1
|
+
[role="mt-5"]
|
2
|
+
== Options P - S
|
3
|
+
|
4
|
+
List of available Swiper parameters (properties) alphabetically ordered
|
5
|
+
from *P* to *S*. Find parameter settings also with the
|
6
|
+
https://swiperjs.com/swiper-api[Swiper Documentation, {browser-window--new}].
|
7
|
+
|
8
|
+
|
9
|
+
[role="mt-4"]
|
10
|
+
=== pagination
|
11
|
+
|
12
|
+
Configure the *Pagination module* for a swiper slider.
|
13
|
+
|
14
|
+
[TIP]
|
15
|
+
====
|
16
|
+
Find all available configurable *settings* with <<Pagination>> in section
|
17
|
+
<<Modules>>.
|
18
|
+
====
|
19
|
+
|
20
|
+
|
21
|
+
[cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
|
22
|
+
|===
|
23
|
+
|Name |Type |Default |Description
|
24
|
+
|
25
|
+
|`pagination`
|
26
|
+
|any
|
27
|
+
|*no defaults*
|
28
|
+
|Object with pagination parameters or boolean `true` to enable with
|
29
|
+
default settings.
|
30
|
+
|
31
|
+
[source, js]
|
32
|
+
----
|
33
|
+
const swiper = new Swiper('.swiper', {
|
34
|
+
pagination: {
|
35
|
+
el: '.swiper-pagination',
|
36
|
+
type: 'bullets',
|
37
|
+
clickable: true
|
38
|
+
},
|
39
|
+
});
|
40
|
+
----
|
41
|
+
|
42
|
+
|===
|
43
|
+
|
44
|
+
[role="mt-4"]
|
45
|
+
=== parallax
|
46
|
+
|
47
|
+
Configure parallax effect for a swipe slider.
|
48
|
+
|
49
|
+
[cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
|
50
|
+
|===
|
51
|
+
|Name |Type |Default |Description
|
52
|
+
|
53
|
+
|`parallax`
|
54
|
+
|any
|
55
|
+
|*no defaults*
|
56
|
+
|Object with parallax parameters or boolean `true` to enable with
|
57
|
+
default settings.
|
58
|
+
|
59
|
+
[source, js]
|
60
|
+
----
|
61
|
+
const swiper = new Swiper('.swiper', {
|
62
|
+
parallax: true
|
63
|
+
});
|
64
|
+
|
65
|
+
----
|
66
|
+
|
67
|
+
|===
|
68
|
+
|
69
|
+
[role="mt-4"]
|
70
|
+
=== passiveListeners
|
71
|
+
|
72
|
+
Configure *passive* event listeners.
|
73
|
+
|
74
|
+
[cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
|
75
|
+
|===
|
76
|
+
|Name |Type |Default |Description
|
77
|
+
|
78
|
+
|`passiveListeners`
|
79
|
+
|boolean
|
80
|
+
|true
|
81
|
+
|Passive event listeners will be used by default where possible to improve
|
82
|
+
scrolling performance on mobile devices. But if you need to use
|
83
|
+
`e.preventDefault` and you have conflict with it, then you should disable
|
84
|
+
this parameter.
|
85
|
+
|
86
|
+
|===
|
87
|
+
|
88
|
+
[role="mt-4"]
|
89
|
+
=== preventClicks
|
90
|
+
|
91
|
+
Prevent unwanted clicks on links during swiping.
|
92
|
+
|
93
|
+
[cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
|
94
|
+
|===
|
95
|
+
|Name |Type |Default |Description
|
96
|
+
|
97
|
+
|`preventClicks`
|
98
|
+
|boolean
|
99
|
+
|true
|
100
|
+
|Set to `true` to prevent accidental unwanted clicks on links during swiping.
|
101
|
+
|
102
|
+
|===
|
103
|
+
|
104
|
+
[role="mt-4"]
|
105
|
+
=== preventClicksPropagation
|
106
|
+
|
107
|
+
Stop *click event* propagation on links during swiping.
|
108
|
+
|
109
|
+
[cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
|
110
|
+
|===
|
111
|
+
|Name |Type |Default |Description
|
112
|
+
|
113
|
+
|`preventClicksPropagation`
|
114
|
+
|boolean
|
115
|
+
|true
|
116
|
+
|Set to `true` to stop clicks event propagation on links during swiping.
|
117
|
+
|
118
|
+
|===
|
119
|
+
|
120
|
+
[role="mt-4"]
|
121
|
+
=== preventInteractionOnTransition
|
122
|
+
|
123
|
+
Allow to change slides by swiping or *navigation* \| *pagination* buttons
|
124
|
+
during transition.
|
125
|
+
|
126
|
+
[cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
|
127
|
+
|===
|
128
|
+
|Name |Type |Default |Description
|
129
|
+
|
130
|
+
|`preventInteractionOnTransition`
|
131
|
+
|boolean
|
132
|
+
|false
|
133
|
+
|When enabled it won't allow to change slides by swiping or
|
134
|
+
navigation/pagination buttons during transition.
|
135
|
+
|
136
|
+
|===
|
137
|
+
|
138
|
+
[role="mt-4"]
|
139
|
+
=== resistance
|
140
|
+
|
141
|
+
Enable or disable resistant bounds.
|
142
|
+
|
143
|
+
[cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
|
144
|
+
|===
|
145
|
+
|Name |Type |Default |Description
|
146
|
+
|
147
|
+
|`resistance`
|
148
|
+
|boolean
|
149
|
+
|true
|
150
|
+
|Set to `false` if you want to disable resistant bounds
|
151
|
+
|
152
|
+
|===
|
153
|
+
|
154
|
+
[role="mt-4"]
|
155
|
+
=== resistanceRatio
|
156
|
+
|
157
|
+
Control resistance ratio.
|
158
|
+
|
159
|
+
[cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
|
160
|
+
|===
|
161
|
+
|Name |Type |Default |Description
|
162
|
+
|
163
|
+
|`resistanceRatio`
|
164
|
+
|number
|
165
|
+
|0.85
|
166
|
+
|This option allows you to control resistance ratio.
|
167
|
+
|
168
|
+
|===
|
169
|
+
|
170
|
+
[role="mt-4"]
|
171
|
+
=== resizeObserver
|
172
|
+
|
173
|
+
Configure *ResizeObserver* (if supported by browser) on swiper container
|
174
|
+
to detect container resize.
|
175
|
+
|
176
|
+
[cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
|
177
|
+
|===
|
178
|
+
|Name |Type |Default |Description
|
179
|
+
|
180
|
+
|`resizeObserver`
|
181
|
+
|boolean
|
182
|
+
|true
|
183
|
+
|When enabled it will use ResizeObserver (if supported by browser) on
|
184
|
+
swiper container to detect container resize (instead of watching for
|
185
|
+
window resize).
|
186
|
+
|
187
|
+
|===
|
188
|
+
|
189
|
+
[role="mt-4"]
|
190
|
+
=== rewind
|
191
|
+
|
192
|
+
Enable *rewind* mode.
|
193
|
+
|
194
|
+
[cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
|
195
|
+
|===
|
196
|
+
|Name |Type |Default |Description
|
197
|
+
|
198
|
+
|`rewind`
|
199
|
+
|boolean
|
200
|
+
|false
|
201
|
+
|Set to `true` to enable *rewind* mode. When enabled, clicking *next*
|
202
|
+
navigation button (or calling `.slideNext()`) when on *last* slide will
|
203
|
+
slide back to the *first* slide. Clicking *prev* navigation button (or
|
204
|
+
calling `.slidePrev()`) when on *first* slide will slide forward to the
|
205
|
+
*last* slide.
|
206
|
+
|
207
|
+
[NOTE]
|
208
|
+
====
|
209
|
+
Should not be used together with `loop` mode.
|
210
|
+
====
|
211
|
+
|
212
|
+
|===
|
213
|
+
|
214
|
+
[role="mt-4"]
|
215
|
+
=== roundLengths
|
216
|
+
|
217
|
+
Enable to round values of slides *width and height* to prevent blurry texts
|
218
|
+
on usual *resolution screens*.
|
219
|
+
|
220
|
+
[cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
|
221
|
+
|===
|
222
|
+
|Name |Type |Default |Description
|
223
|
+
|
224
|
+
|`roundLengths`
|
225
|
+
|boolean
|
226
|
+
|false
|
227
|
+
|Set to `true` to round values of slides *width and height* to prevent
|
228
|
+
blurry texts on usual resolution screens (if you have such).
|
229
|
+
|
230
|
+
|===
|
231
|
+
|
232
|
+
[role="mt-4"]
|
233
|
+
=== runCallbacksOnInit
|
234
|
+
|
235
|
+
Fire *Transition* \| *SlideChange* \| *Start* \| *End* events on swiper
|
236
|
+
initialization.
|
237
|
+
|
238
|
+
[cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
|
239
|
+
|===
|
240
|
+
|Name |Type |Default |Description
|
241
|
+
|
242
|
+
|`runCallbacksOnInit`
|
243
|
+
|boolean
|
244
|
+
|true
|
245
|
+
|Fire *Transition* \| *SlideChange* \| *Start* \| *End* events on swiper
|
246
|
+
initialization. Such events will be fired on initialization in case of your
|
247
|
+
initialSlide is *not 0*, or you use *loop mode*.
|
248
|
+
|
249
|
+
|===
|
250
|
+
|
251
|
+
[role="mt-4"]
|
252
|
+
=== scrollbar
|
253
|
+
|
254
|
+
Configure scrollbar parameters to enable with default settings.
|
255
|
+
|
256
|
+
[cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
|
257
|
+
|===
|
258
|
+
|Name |Type |Default |Description
|
259
|
+
|
260
|
+
|`scrollbar`
|
261
|
+
|any
|
262
|
+
|*no defaults*
|
263
|
+
|Object with scrollbar parameters or boolean `true` to enable with
|
264
|
+
default settings.
|
265
|
+
|
266
|
+
[source, js]
|
267
|
+
----
|
268
|
+
const swiper = new Swiper('.swiper', {
|
269
|
+
scrollbar: {
|
270
|
+
el: '.swiper-scrollbar',
|
271
|
+
draggable: true
|
272
|
+
}
|
273
|
+
});
|
274
|
+
----
|
275
|
+
|
276
|
+
|===
|
277
|
+
|
278
|
+
[role="mt-4"]
|
279
|
+
=== setWrapperSize
|
280
|
+
|
281
|
+
Set *width* \| *height* on swiper wrapper.
|
282
|
+
|
283
|
+
[cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
|
284
|
+
|===
|
285
|
+
|Name |Type |Default |Description
|
286
|
+
|
287
|
+
|`setWrapperSize`
|
288
|
+
|boolean
|
289
|
+
|false
|
290
|
+
|Enabled this option and plugin will set *width* \| *height* on swiper wrapper
|
291
|
+
equal to total size of all slides. Mostly should be used as compatibility
|
292
|
+
fallback option for browser that don't support flexbox layout well.
|
293
|
+
|
294
|
+
|===
|
295
|
+
|
296
|
+
[role="mt-4"]
|
297
|
+
=== shortSwipes
|
298
|
+
|
299
|
+
Disable short swipes.
|
300
|
+
|
301
|
+
[cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
|
302
|
+
|===
|
303
|
+
|Name |Type |Default |Description
|
304
|
+
|
305
|
+
|`shortSwipes`
|
306
|
+
|boolean
|
307
|
+
|true
|
308
|
+
|Set to `false` if you want to disable short swipes.
|
309
|
+
|
310
|
+
|===
|
311
|
+
|
312
|
+
[role="mt-4"]
|
313
|
+
=== simulateTouch
|
314
|
+
|
315
|
+
Enable or disable Swiper mouse events like touch events.
|
316
|
+
|
317
|
+
[cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
|
318
|
+
|===
|
319
|
+
|Name |Type |Default |Description
|
320
|
+
|
321
|
+
|`simulateTouch`
|
322
|
+
|boolean
|
323
|
+
|true
|
324
|
+
|If `true`, Swiper will accept mouse events like touch events (click
|
325
|
+
and drag to change slides).
|
326
|
+
|
327
|
+
|===
|
328
|
+
|
329
|
+
|
330
|
+
[role="mt-4"]
|
331
|
+
=== slideActiveClass
|
332
|
+
|
333
|
+
Set CSS class name of the *active slide*.
|
334
|
+
|
335
|
+
[cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
|
336
|
+
|===
|
337
|
+
|Name |Type |Default |Description
|
338
|
+
|
339
|
+
|`slideActiveClass`
|
340
|
+
|string
|
341
|
+
|_swiper-slide-active_
|
342
|
+
|CSS class name of currently *active slide*.
|
343
|
+
|
344
|
+
[CAUTION]
|
345
|
+
====
|
346
|
+
By changing classes you will also need to change Swiper's CSS to reflect
|
347
|
+
changed classes.
|
348
|
+
|
349
|
+
*Not supported* in Swiper _React_ and _Vue_ environments.
|
350
|
+
====
|
351
|
+
|
352
|
+
|===
|
353
|
+
|
354
|
+
[role="mt-4"]
|
355
|
+
=== slideBlankClass
|
356
|
+
|
357
|
+
Configre CSS class name blank slides.
|
358
|
+
|
359
|
+
[cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
|
360
|
+
|===
|
361
|
+
|Name |Type |Default |Description
|
362
|
+
|
363
|
+
|`slideBlankClass`
|
364
|
+
|string
|
365
|
+
|_swiper-slide-blank_
|
366
|
+
|CSS class name of the blank slide added by the loop mode when
|
367
|
+
`loopAddBlankSlides` is enabled.
|
368
|
+
|
369
|
+
[CAUTION]
|
370
|
+
====
|
371
|
+
Not supported in Swiper _React_ and _Vue_ environments.
|
372
|
+
====
|
373
|
+
|
374
|
+
|===
|
375
|
+
|
376
|
+
[role="mt-4"]
|
377
|
+
=== slideClass
|
378
|
+
|
379
|
+
Configre CSS class name for blank slides.
|
380
|
+
|
381
|
+
[cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
|
382
|
+
|===
|
383
|
+
|Name |Type |Default |Description
|
384
|
+
|
385
|
+
|`slideClass`
|
386
|
+
|string
|
387
|
+
|_swiper-slide_
|
388
|
+
|CSS class name of swiper slides.
|
389
|
+
|
390
|
+
[CAUTION]
|
391
|
+
====
|
392
|
+
By changing classes you will also need to change Swiper's CSS to reflect
|
393
|
+
changed classes.
|
394
|
+
|
395
|
+
*Not supported *in Swiper _React_ and _Vue_ environments.
|
396
|
+
====
|
397
|
+
|
398
|
+
|===
|
399
|
+
|
400
|
+
[role="mt-4"]
|
401
|
+
=== slideFullyVisibleClass
|
402
|
+
|
403
|
+
Configre CSS class name for *blank* slides.
|
404
|
+
|
405
|
+
[cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
|
406
|
+
|===
|
407
|
+
|Name |Type |Default |Description
|
408
|
+
|
409
|
+
|`slideFullyVisibleClass`
|
410
|
+
|string
|
411
|
+
|_swiper-slide-fully-visible_
|
412
|
+
|CSS class name of fully (when whole slide is in the viewport) visible
|
413
|
+
slide.
|
414
|
+
|
415
|
+
[CAUTION]
|
416
|
+
====
|
417
|
+
*Not supported *in Swiper _React_ and _Vue_ environments.
|
418
|
+
====
|
419
|
+
|
420
|
+
|===
|
421
|
+
|
422
|
+
[role="mt-4"]
|
423
|
+
=== slideNextClass
|
424
|
+
|
425
|
+
Configre CSS class name of the slide which is right *after* the *active* slide.
|
426
|
+
|
427
|
+
[cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
|
428
|
+
|===
|
429
|
+
|Name |Type |Default |Description
|
430
|
+
|
431
|
+
|`slideNextClass`
|
432
|
+
|string
|
433
|
+
|_swiper-slide-next_
|
434
|
+
|CSS class name of slide which is right after currently active slide.
|
435
|
+
|
436
|
+
[CAUTION]
|
437
|
+
====
|
438
|
+
By changing classes you will also need to change Swiper's CSS to reflect
|
439
|
+
changed classes.
|
440
|
+
|
441
|
+
*Not supported* in Swiper _React_ and _Vue_ environments.
|
442
|
+
====
|
443
|
+
|
444
|
+
|===
|
445
|
+
|
446
|
+
[role="mt-4"]
|
447
|
+
=== slidePrevClass
|
448
|
+
|
449
|
+
Configre CSS class name of the slide which is right *before* the *active* slide.
|
450
|
+
|
451
|
+
[cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
|
452
|
+
|===
|
453
|
+
|Name |Type |Default |Description
|
454
|
+
|
455
|
+
|`slidePrevClass`
|
456
|
+
|string
|
457
|
+
|_swiper-slide-prev_
|
458
|
+
|CSS class name of slide which is right before currently active slide.
|
459
|
+
|
460
|
+
[CAUTION]
|
461
|
+
====
|
462
|
+
By changing classes you will also need to change Swiper's CSS to reflect
|
463
|
+
changed classes
|
464
|
+
|
465
|
+
*Not supported* in Swiper _React_ and _Vue_ environments.
|
466
|
+
====
|
467
|
+
|
468
|
+
|===
|
469
|
+
|
470
|
+
[role="mt-4"]
|
471
|
+
=== slideToClickedSlide
|
472
|
+
|
473
|
+
Enable click on any slide to trigger a *transition*.
|
474
|
+
|
475
|
+
[cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
|
476
|
+
|===
|
477
|
+
|Name |Type |Default |Description
|
478
|
+
|
479
|
+
|`slideToClickedSlide`
|
480
|
+
|boolean
|
481
|
+
|false
|
482
|
+
|Set to `true` to enable click on any slide to trigger a *transition*.
|
483
|
+
|
484
|
+
|===
|
485
|
+
|
486
|
+
[role="mt-4"]
|
487
|
+
=== slideVisibleClass
|
488
|
+
|
489
|
+
Set the CSS class name of the currently *active* or *partially*
|
490
|
+
visible slide.
|
491
|
+
|
492
|
+
[cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
|
493
|
+
|===
|
494
|
+
|Name |Type |Default |Description
|
495
|
+
|
496
|
+
|`slideVisibleClass`
|
497
|
+
|string
|
498
|
+
|_swiper-slide-visible_
|
499
|
+
|CSS class name of the currently *active* or *partially* visible slide.
|
500
|
+
|
501
|
+
[CAUTION]
|
502
|
+
====
|
503
|
+
By changing classes you will also need to change Swiper's CSS to reflect
|
504
|
+
changed classes.
|
505
|
+
|
506
|
+
*Not supported* in Swiper _React_ and _Vue_ environments.
|
507
|
+
====
|
508
|
+
|
509
|
+
|===
|
510
|
+
|
511
|
+
[role="mt-4"]
|
512
|
+
=== slidesOffsetAfter
|
513
|
+
|
514
|
+
Set additional slide offset (in px) at the end of the container *after*
|
515
|
+
all slides configured.
|
516
|
+
|
517
|
+
[cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
|
518
|
+
|===
|
519
|
+
|Name |Type |Default |Description
|
520
|
+
|
521
|
+
|`slidesOffsetAfter`
|
522
|
+
|number
|
523
|
+
|0
|
524
|
+
|Add additional slide offset (in px) at the end of the container *after*
|
525
|
+
all slides configured.
|
526
|
+
|
527
|
+
|===
|
528
|
+
|
529
|
+
[role="mt-4"]
|
530
|
+
=== slidesOffsetBefore
|
531
|
+
|
532
|
+
Set additional slide offset (in px) in the beginning of the container *before*
|
533
|
+
all slides configured.
|
534
|
+
|
535
|
+
[cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
|
536
|
+
|===
|
537
|
+
|Name |Type |Default |Description
|
538
|
+
|
539
|
+
|`slidesOffsetBefore`
|
540
|
+
|number
|
541
|
+
|0
|
542
|
+
|Add (in px) additional slide offset (in px) in the beginning of the container
|
543
|
+
*before* all slides configured.
|
544
|
+
|
545
|
+
|===
|
546
|
+
|
547
|
+
[role="mt-4"]
|
548
|
+
=== slidesPerGroup
|
549
|
+
|
550
|
+
Set numbers of slides for *group sliding*.
|
551
|
+
|
552
|
+
[cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
|
553
|
+
|===
|
554
|
+
|Name |Type |Default |Description
|
555
|
+
|
556
|
+
|`slidesPerGroup`
|
557
|
+
|number
|
558
|
+
|1
|
559
|
+
|Set numbers of slides for *group sliding*. Useful to use with *slidesPerView*
|
560
|
+
Parameter set *larger* than *1*.
|
561
|
+
|
562
|
+
|===
|
563
|
+
|
564
|
+
[role="mt-4"]
|
565
|
+
=== slidesPerGroupAuto
|
566
|
+
|
567
|
+
Set number of slides for *group sliding* to skip all slides in view on
|
568
|
+
`.slideNext()` \| `.slidePrev()` methods calls, on Navigation *button*
|
569
|
+
clicks in *autoplay*.
|
570
|
+
|
571
|
+
[cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
|
572
|
+
|===
|
573
|
+
|Name |Type |Default |Description
|
574
|
+
|
575
|
+
|`slidesPerGroupAuto`
|
576
|
+
|boolean
|
577
|
+
|false
|
578
|
+
|This param intended to be used only with `slidesPerView: auto` and
|
579
|
+
`slidesPerGroup: 1`. When enabled, it will skip all slides in view on
|
580
|
+
`.slideNext()` \| `.slidePrev()` methods calls, on Navigation *button*
|
581
|
+
clicks in *autoplay*.
|
582
|
+
|
583
|
+
|===
|
584
|
+
|
585
|
+
[role="mt-4"]
|
586
|
+
=== slidesPerGroupSkip
|
587
|
+
|
588
|
+
Set number of slides for *group sliding* to skip slides.
|
589
|
+
|
590
|
+
[cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
|
591
|
+
|===
|
592
|
+
|Name |Type |Default |Description
|
593
|
+
|
594
|
+
|`slidesPerGroupSkip`
|
595
|
+
|number
|
596
|
+
|0
|
597
|
+
|The parameter works in the following way: If `slidesPerGroupSkip`
|
598
|
+
equals `0` (default), no slides are excluded from grouping, and the
|
599
|
+
resulting behaviour is the same as without this change.
|
600
|
+
|
601
|
+
If `slidesPerGroupSkip` is equal or larger than *1* the first X
|
602
|
+
slides are treated as *single groups*, whereas all following slides are
|
603
|
+
grouped by the `slidesPerGroup` value.
|
604
|
+
|
605
|
+
|===
|
606
|
+
|
607
|
+
[role="mt-4"]
|
608
|
+
=== slidesPerView
|
609
|
+
|
610
|
+
Set the number of slides visible per view on a slider.
|
611
|
+
|
612
|
+
[cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
|
613
|
+
|===
|
614
|
+
|Name |Type |Default |Description
|
615
|
+
|
616
|
+
|`slidesPerView`
|
617
|
+
|number \| _auto_
|
618
|
+
|1
|
619
|
+
|Number of slides visible per view on a slider.
|
620
|
+
|
621
|
+
[CAUTION]
|
622
|
+
====
|
623
|
+
Setting `slidesPerView: auto` is *not* compatible with *multirow* mode,
|
624
|
+
when `grid.row` is set larger than *1*.
|
625
|
+
====
|
626
|
+
|
627
|
+
|===
|
628
|
+
|
629
|
+
[role="mt-4"]
|
630
|
+
=== spaceBetween
|
631
|
+
|
632
|
+
Set the distance between slides in px.
|
633
|
+
|
634
|
+
[cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
|
635
|
+
|===
|
636
|
+
|Name |Type |Default |Description
|
637
|
+
|
638
|
+
|`spaceBetween`
|
639
|
+
|string \| number
|
640
|
+
|0
|
641
|
+
|Distance between slides in px..
|
642
|
+
|
643
|
+
[CAUTION]
|
644
|
+
====
|
645
|
+
If you use *margin* CSS property to the elements which go into Swiper in
|
646
|
+
which you pass `spaceBetween` into, navigation might *not work* properly.
|
647
|
+
====
|
648
|
+
|
649
|
+
|===
|
650
|
+
|
651
|
+
[role="mt-4"]
|
652
|
+
=== speed
|
653
|
+
|
654
|
+
Set Duration of transition between slides in ms.
|
655
|
+
|
656
|
+
[cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
|
657
|
+
|===
|
658
|
+
|Name |Type |Default |Description
|
659
|
+
|
660
|
+
|`speed`
|
661
|
+
|number
|
662
|
+
|300
|
663
|
+
|Duration of transition between slides in ms.
|
664
|
+
|
665
|
+
|===
|
666
|
+
|
667
|
+
[role="mt-4"]
|
668
|
+
=== swipeHandler
|
669
|
+
|
670
|
+
Set the CSS selector \| HTML element for *swiping* of the the swiper
|
671
|
+
container.
|
672
|
+
|
673
|
+
[cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
|
674
|
+
|===
|
675
|
+
|Name |Type |Default |Description
|
676
|
+
|
677
|
+
|`swipeHandler`
|
678
|
+
|any
|
679
|
+
|null
|
680
|
+
|String with CSS selector \| HTML element for *swiping* of the the swiper
|
681
|
+
container.
|
682
|
+
|
683
|
+
|===
|
684
|
+
|
685
|
+
[role="mt-4"]
|
686
|
+
=== swiperElementNodeName
|
687
|
+
|
688
|
+
Set the name of the swiper element node name.
|
689
|
+
|
690
|
+
[cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
|
691
|
+
|===
|
692
|
+
|Name |Type |Default |Description
|
693
|
+
|
694
|
+
|`swiperElementNodeName`
|
695
|
+
|string
|
696
|
+
|_swiper-container_
|
697
|
+
|The name of the swiper element node name. Used for detecting web component
|
698
|
+
rendering.
|
699
|
+
|
700
|
+
|===
|