j1-template 2024.3.15 → 2024.3.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (211) hide show
  1. checksums.yaml +4 -4
  2. data/assets/data/amplitude.html +139 -68
  3. data/assets/data/banner.html +1 -1
  4. data/assets/data/cookieconsent.html +1 -1
  5. data/assets/data/docsearch.html +1 -1
  6. data/assets/data/fab.html +1 -1
  7. data/assets/data/footer.html +1 -1
  8. data/assets/data/galeries.html +1 -1
  9. data/assets/data/gallery_customizer.html +1 -1
  10. data/assets/data/gemini-ui.html +1 -1
  11. data/assets/data/iframes.html +1 -1
  12. data/assets/data/masonry.html +1 -1
  13. data/assets/data/masterslider.html +1 -1
  14. data/assets/data/menu.html +1 -1
  15. data/assets/data/mmenu.html +1 -1
  16. data/assets/data/mmenu_sidebar.html +1 -1
  17. data/assets/data/mmenu_toc.html +1 -1
  18. data/assets/data/panel.html +5 -4
  19. data/assets/data/quicklinks.html +1 -1
  20. data/assets/data/rtext_resizer.html +1 -1
  21. data/assets/data/slick.html +1 -1
  22. data/assets/data/speak2me.html +1 -1
  23. data/assets/data/swiper.html +313 -0
  24. data/assets/theme/j1/adapter/js/amplitude.30.js +1177 -0
  25. data/assets/theme/j1/adapter/js/amplitude.js +241 -191
  26. data/assets/theme/j1/adapter/js/j1.js +3 -3
  27. data/assets/theme/j1/adapter/js/masonry.js +2 -2
  28. data/assets/theme/j1/adapter/js/masterslider.js +2 -1
  29. data/assets/theme/j1/adapter/js/swiper.js +231 -0
  30. data/assets/theme/j1/adapter/js/videojs.js +212 -0
  31. data/assets/theme/j1/core/css/themes/unolight/bootstrap.css +7 -4
  32. data/assets/theme/j1/core/css/themes/unolight/bootstrap.css.map +1 -1
  33. data/assets/theme/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
  34. data/assets/theme/j1/core/css/themes/unolight/bootstrap.min.css.map +1 -1
  35. data/assets/theme/j1/core/js/template.js +4 -0
  36. data/assets/theme/j1/core/js/template.min.js +2 -2
  37. data/assets/theme/j1/core/js/template.min.js.map +1 -1
  38. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/amplitude.css +94 -4
  39. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/amplitude.min.css +1 -1
  40. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/compact.css +3 -2
  41. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/compact.min.css +1 -1
  42. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.css +72 -10
  43. data/assets/theme/j1/modules/amplitudejs/css/theme/uno/dark/player/large.min.css +2 -1
  44. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/artist.svg +78 -0
  45. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/mute.svg +52 -20
  46. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/next.svg +20 -39
  47. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/now-playing.svg +24 -38
  48. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/playlist-hide.svg +85 -0
  49. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/playlist-music.svg +85 -0
  50. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/playlist-show.svg +85 -0
  51. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/playlist.svg +85 -0
  52. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/previous.svg +18 -37
  53. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/skip-backward.svg +33 -30
  54. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/skip-forward.svg +33 -29
  55. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/small/next.svg +55 -14
  56. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/small/previous.svg +56 -14
  57. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/volume.svg +38 -21
  58. data/assets/theme/j1/modules/amplitudejs/js/amplitude.map +20 -20
  59. data/assets/theme/j1/modules/amplitudejs/js/tech/ytp.15.js +1594 -0
  60. data/assets/theme/j1/modules/amplitudejs/js/tech/ytp.js +1617 -89
  61. data/assets/theme/j1/modules/amplitudejs/js/visualizations/bar.js +1 -1
  62. data/assets/theme/j1/modules/amplitudejs/js/visualizations/circular-equalizer.js +31 -1
  63. data/assets/theme/j1/modules/amplitudejs/js/visualizations/frequency-analyzer.js +1 -1
  64. data/assets/theme/j1/modules/amplitudejs/js/visualizations/michael-bromley.js +1 -1
  65. data/assets/theme/j1/modules/amplitudejs/js/visualizations/template.js +1 -1
  66. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.js +206 -122
  67. data/assets/theme/j1/modules/photoswipe/.version_5.4.4 +6 -0
  68. data/assets/theme/j1/modules/photoswipe/LICENSE +21 -0
  69. data/assets/theme/j1/modules/photoswipe/README.md +32 -0
  70. data/assets/theme/j1/modules/photoswipe/css/org/photoswipe-dynamic-caption-plugin.umd.min.js +5 -0
  71. data/assets/theme/j1/modules/photoswipe/css/org/photoswipe.css +420 -0
  72. data/assets/theme/j1/modules/photoswipe/css/photoswipe-caption-plugin.css +67 -0
  73. data/assets/theme/j1/modules/photoswipe/css/photoswipe-caption-plugin.min.css +16 -0
  74. data/assets/theme/j1/modules/photoswipe/css/photoswipe.css +376 -0
  75. data/assets/theme/j1/modules/photoswipe/css/photoswipe.min.css +17 -0
  76. data/assets/theme/j1/modules/photoswipe/css/scss/photoswipe.scss +427 -0
  77. data/assets/theme/j1/modules/photoswipe/example/photoswipe-caption-plugin.html +237 -0
  78. data/assets/theme/j1/modules/photoswipe/example/test-gallery.html +36 -0
  79. data/assets/theme/j1/modules/photoswipe/js/README.md +43 -0
  80. data/assets/theme/j1/modules/photoswipe/js/photoswipe-caption-plugin.min.js +5 -0
  81. data/assets/theme/j1/modules/photoswipe/js/photoswipe-core.min.js +18 -0
  82. data/assets/theme/j1/modules/photoswipe/js/photoswipe-lightbox.min.js +18 -0
  83. data/assets/theme/j1/modules/swiper/.version_1.2.0 +15 -0
  84. data/assets/theme/j1/modules/swiper/LICENSE +20 -0
  85. data/assets/theme/j1/modules/swiper/README.md +95 -0
  86. data/assets/theme/j1/modules/swiper/css/swiper-bundle.css +740 -0
  87. data/assets/theme/j1/modules/swiper/css/swiper-bundle.min..css +17 -0
  88. data/assets/theme/j1/modules/swiper/css/theme/uno.css +249 -0
  89. data/assets/theme/j1/modules/swiper/css/theme/uno.min.css +154 -0
  90. data/assets/theme/j1/modules/swiper/js/swiper-bundle.js +9785 -0
  91. data/assets/theme/j1/modules/swiper/js/swiper-bundle.min.js +17 -0
  92. data/assets/theme/j1/modules/swiper/swiperjs.com-demos.url +2 -0
  93. data/assets/theme/j1/modules/videojs/assets/icons/custom-icons/next.svg +82 -0
  94. data/assets/theme/j1/modules/videojs/css/font/README.md +151 -0
  95. data/assets/theme/j1/modules/videojs/css/font/VideoJS.svg +150 -0
  96. data/assets/theme/j1/modules/videojs/css/font/video-js-cdn.css +2012 -0
  97. data/assets/theme/j1/modules/videojs/css/plugins/controls/skipbuttons.0.css +32 -0
  98. data/assets/theme/j1/modules/videojs/css/plugins/controls/skipbuttons.1.css +31 -0
  99. data/assets/theme/j1/modules/videojs/css/plugins/controls/skipbuttons.css +31 -0
  100. data/assets/theme/j1/modules/videojs/css/plugins/controls/skipbuttons.min.css +21 -0
  101. data/assets/theme/j1/modules/videojs/css/themes/uno.css +14 -3
  102. data/assets/theme/j1/modules/videojs/css/themes/uno.min.css +1 -1
  103. data/assets/theme/j1/modules/videojs/css/videojs.css +1 -0
  104. data/assets/theme/j1/modules/videojs/js/plugins/controls/autocaption/LICENSE +13 -0
  105. data/assets/theme/j1/modules/videojs/js/plugins/controls/autocaption/README.md +75 -0
  106. data/assets/theme/j1/modules/videojs/js/plugins/controls/autocaption/autocaption.js +149 -0
  107. data/assets/theme/j1/modules/videojs/js/plugins/controls/autocaption/autocaption.min.js +21 -0
  108. data/assets/theme/j1/modules/videojs/js/plugins/controls/hotkeys/README.md +76 -30
  109. data/assets/theme/j1/modules/videojs/js/plugins/controls/hotkeys/hotkeys.js +64 -53
  110. data/assets/theme/j1/modules/videojs/js/plugins/controls/hotkeys/hotkeys.min.js +1 -1
  111. data/assets/theme/j1/modules/videojs/js/plugins/controls/skipbuttons/README.md +133 -0
  112. data/assets/theme/j1/modules/videojs/js/plugins/controls/skipbuttons/skipbuttons.js +137 -0
  113. data/assets/theme/j1/modules/videojs/js/plugins/controls/skipbuttons/skipbuttons.min.js +21 -0
  114. data/assets/theme/j1/modules/videojs/js/plugins/controls/zoom/zoom.js +15 -12
  115. data/assets/theme/j1/modules/videojs/js/plugins/players/yt/youtube.js +43 -16
  116. data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.3/fastfilereaderext.so +0 -0
  117. data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.3/rubyeventmachine.so +0 -0
  118. data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.4/fastfilereaderext.so +0 -0
  119. data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.4/rubyeventmachine.so +0 -0
  120. data/lib/j1/version.rb +1 -1
  121. data/lib/j1_app/j1_auth_manager/config.rb +0 -4
  122. data/lib/starter_web/Gemfile +45 -22
  123. data/lib/starter_web/README.md +5 -5
  124. data/lib/starter_web/_config.yml +4 -6
  125. data/lib/starter_web/_data/modules/amplitude.yml +308 -363
  126. data/lib/starter_web/_data/modules/defaults/amplitude.yml +60 -35
  127. data/lib/starter_web/_data/modules/defaults/gallery.yml +42 -0
  128. data/lib/starter_web/_data/modules/defaults/slick.yml +1 -1
  129. data/lib/starter_web/_data/modules/defaults/swiper.yml +515 -0
  130. data/lib/starter_web/_data/modules/defaults/videojs.yml +107 -0
  131. data/lib/starter_web/_data/modules/gallery.yml +30 -14
  132. data/lib/starter_web/_data/modules/masonry.yml +15 -0
  133. data/lib/starter_web/_data/modules/swiper.yml +227 -0
  134. data/lib/starter_web/_data/modules/videojs.yml +57 -0
  135. data/lib/starter_web/_data/resources.yml +50 -16
  136. data/lib/starter_web/_data/templates/feed.xml +1 -1
  137. data/lib/starter_web/_includes/tables/jekyll_variables.asciidoc +1 -0
  138. data/lib/starter_web/_plugins/asciidoctor/amplitude-block.rb +1 -0
  139. data/lib/starter_web/_plugins/asciidoctor/dailymotion-block.rb +4 -1
  140. data/lib/starter_web/_plugins/asciidoctor/videojs-block.rb +141 -24
  141. data/lib/starter_web/_plugins/asciidoctor/vimeo-block.rb +4 -1
  142. data/lib/starter_web/_plugins/asciidoctor/wistia-block.rb +313 -0
  143. data/lib/starter_web/_plugins/asciidoctor/youtube-block.rb +192 -17
  144. data/lib/starter_web/_plugins/index/lunr.rb +1 -1
  145. data/lib/starter_web/assets/video/poster/youtube/faelle_des_bnd/der_unverzichtbare_feind.jpg +0 -0
  146. data/lib/starter_web/assets/video/poster/youtube/faelle_des_bnd/ein_diener_vieler_herren.jpg +0 -0
  147. data/lib/starter_web/assets/video/poster/youtube/the_piano/the-piano.jpg +0 -0
  148. data/lib/starter_web/package.json +1 -1
  149. data/lib/starter_web/pages/public/_includes/attributes.asciidoc +45 -0
  150. data/lib/starter_web/pages/public/_includes/documents/photoswipe/200_photoswipe_parameters.asciidoc +510 -0
  151. data/lib/starter_web/pages/public/_includes/documents/photoswipe/210_photoswipe_lightbox_parameters.asciidoc +98 -0
  152. data/lib/starter_web/pages/public/_includes/documents/photoswipe/300_caption_plugin_for_photoSwipe.asciidoc +327 -0
  153. data/lib/starter_web/pages/public/_includes/documents/swiper/100_swiper_features.asciidoc +50 -0
  154. data/lib/starter_web/pages/public/_includes/documents/swiper/100_swiper_html_layout.asciidoc +122 -0
  155. data/lib/starter_web/pages/public/_includes/documents/swiper/100_swiper_initialization.asciidoc +53 -0
  156. data/lib/starter_web/pages/public/_includes/documents/swiper/110_swiper_common_options.asciidoc +43 -0
  157. data/lib/starter_web/pages/public/_includes/documents/swiper/200_swiper_parameters_a_k.asciidoc +994 -0
  158. data/lib/starter_web/pages/public/_includes/documents/swiper/200_swiper_parameters_l_o.asciidoc +473 -0
  159. data/lib/starter_web/pages/public/_includes/documents/swiper/200_swiper_parameters_p_s.asciidoc +700 -0
  160. data/lib/starter_web/pages/public/_includes/documents/swiper/200_swiper_parameters_t_z.asciidoc +413 -0
  161. data/lib/starter_web/pages/public/_includes/documents/swiper/300_swiper_instance_properties.asciidoc +873 -0
  162. data/lib/starter_web/pages/public/_includes/documents/swiper/400_swiper_modules.asciidoc +2514 -0
  163. data/lib/starter_web/pages/public/_includes/documents/swiper/500_swiper_methods.asciidoc +989 -0
  164. data/lib/starter_web/pages/public/_includes/documents/swiper/600_swiper_events.asciidoc +1534 -0
  165. data/lib/starter_web/pages/public/amplitude_yt_tester.adoc +89 -62
  166. data/lib/starter_web/pages/public/manuals/integrations/amplitudejs/amplitudejs-api.adoc +1 -1
  167. data/lib/starter_web/pages/public/manuals/integrations/videojs/youtube-api.adoc +1638 -0
  168. data/lib/starter_web/pages/public/photoswipe_api.adoc +150 -0
  169. data/lib/starter_web/pages/public/swiper_api.adoc +128 -0
  170. data/lib/starter_web/pages/public/swiper_tester.adoc +973 -0
  171. data/lib/starter_web/pages/public/tools/previewer/preview_bootstrap_theme.adoc +5 -6
  172. data/lib/starter_web/pages/public/tools/previewer/preview_videojs.adoc +203 -0
  173. data/lib/starter_web/pages/{tour → public/tour}/modal_extentions.adoc +12 -5
  174. data/lib/starter_web/pages/{tour → public/tour}/play_audio.adoc +63 -15
  175. data/lib/starter_web/pages/{tour → public/tour}/play_video.adoc +79 -40
  176. data/lib/starter_web/pages/{tour → public/tour}/present_images.adoc +5 -5
  177. metadata +114 -41
  178. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/_pause.svg +0 -19
  179. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/_play.svg +0 -18
  180. data/assets/theme/j1/modules/amplitudejs/icons/player/dark/show-playlist.svg +0 -15
  181. data/assets/theme/j1/modules/jqueryScrollbar/LICENSE +0 -20
  182. data/assets/theme/j1/modules/jqueryScrollbar/README.md +0 -28
  183. data/assets/theme/j1/modules/jqueryScrollbar/css/scrollbar.css +0 -939
  184. data/assets/theme/j1/modules/jqueryScrollbar/css/scrollbar.min.css +0 -20
  185. data/assets/theme/j1/modules/jqueryScrollbar/js/scrollbar.js +0 -851
  186. data/assets/theme/j1/modules/jqueryScrollbar/js/scrollbar.min.js +0 -36
  187. data/assets/theme/j1/modules/jqueryScrollbar/sass/scrollbar.scss +0 -806
  188. data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.0.js +0 -794
  189. /data/lib/starter_web/pages/{tour → public/tour}/_includes/attributes.asciidoc +0 -0
  190. /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/100_gistblock.asciidoc +0 -0
  191. /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/410_bottom_info.asciidoc +0 -0
  192. /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/410_bottom_left_warning.asciidoc +0 -0
  193. /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/410_bottom_right_danger.asciidoc +0 -0
  194. /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/410_central_success.asciidoc +0 -0
  195. /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/410_full_height_left_info.asciidoc +0 -0
  196. /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/410_full_height_right_success.asciidoc +0 -0
  197. /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/410_table_bs_modal_examples.asciidoc +0 -0
  198. /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/410_top_info.asciidoc +0 -0
  199. /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/410_top_left_info.asciidoc +0 -0
  200. /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/410_top_right_success.asciidoc +0 -0
  201. /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/419_advanced_modals_demo.asciidoc +0 -0
  202. /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/tables/bs_modal_examples.asciidoc +0 -0
  203. /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/themes_bootstrap.asciidoc +0 -0
  204. /data/lib/starter_web/pages/{tour → public/tour}/_includes/documents/themes_rouge.asciidoc +0 -0
  205. /data/lib/starter_web/pages/{tour → public/tour}/asciidoc_extensions.adoc +0 -0
  206. /data/lib/starter_web/pages/{tour → public/tour}/bootstrap_themes.adoc +0 -0
  207. /data/lib/starter_web/pages/{tour → public/tour}/highlghter_rouge.adoc +0 -0
  208. /data/lib/starter_web/pages/{tour → public/tour}/icon_fonts.adoc +0 -0
  209. /data/lib/starter_web/pages/{tour → public/tour}/quicksearch.adoc +0 -0
  210. /data/lib/starter_web/pages/{tour → public/tour}/responsive_tables.adoc +0 -0
  211. /data/lib/starter_web/pages/{tour → public/tour}/typography.adoc +0 -0
@@ -0,0 +1,994 @@
1
+ [role="mt-5"]
2
+ == Options A - K
3
+ List of available Swiper parameters (properties) alphabetically ordered
4
+ from *A* to *K*. Find parameter settings also with the
5
+ https://swiperjs.com/swiper-api[Swiper Documentation, {browser-window--new}].
6
+
7
+ [role="mt-4"]
8
+ === a11y (Accessibility)
9
+
10
+ Enable and configure the *Accessibility* (a11y) module with *default* settings.
11
+ By using the module, SwiperJS slider accessibility is significantly *enhanced*
12
+ for *users* having *disabilities*.
13
+
14
+ [TIP]
15
+ ====
16
+ Find all available configurable *settings* with <<Accessibility (a11y)>>
17
+ in section <<Modules>>.
18
+ ====
19
+
20
+ // link:{swiper-modules--a11y}[Accessibility (a11y), {browser-window--new}]].
21
+
22
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable"]
23
+ |===
24
+ |Name |Type |Default |Description \| Example
25
+
26
+ |`a11y`
27
+ |any
28
+ |*no default*
29
+ |Object with a11y *parameters* or boolean `true` to *enable* the *module*
30
+ with *default* settings.
31
+
32
+ [source, js]
33
+ ----
34
+ const swiper = new Swiper('.swiper', {
35
+ a11y: {
36
+ prevSlideMessage: 'Go to previous slide',
37
+ nextSlideMessage: 'Go to next slide',
38
+ firstSlideMessage: 'This is the first slide',
39
+ lastSlideMessage: 'This is the last slide'
40
+ }
41
+ });
42
+ ----
43
+ |===
44
+
45
+ [role="mt-4"]
46
+ === allowslideNext()
47
+
48
+ Enable or disable swiping to next slide.
49
+
50
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
51
+ |===
52
+ |Name |Type |Default |Description \| Example
53
+
54
+ |`allowslideNext()`
55
+ |boolean
56
+ |true
57
+ |Set to `false` to disable swiping to next slide direction (to right
58
+ or bottom).
59
+
60
+ |===
61
+
62
+ [role="mt-4"]
63
+ === allowslidePrev()
64
+
65
+ Enable or disable swiping to previous slide.
66
+
67
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
68
+ |===
69
+ |Name |Type |Default |Description \| Example
70
+
71
+ |`allowslidePrev()`
72
+ |boolean
73
+ |true
74
+ |Set to `false` to disable swiping to previous slide direction (to left or
75
+ top).
76
+
77
+ |===
78
+
79
+ [role="mt-4"]
80
+ === allowTouchMove
81
+
82
+ Control to switch slides by using API *methods* like *slidePrev()* or
83
+ *slideNext()*.
84
+
85
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
86
+ |===
87
+ |Name |Type |Default |Description \| Example
88
+
89
+ |`allowTouchMove`
90
+ |boolean
91
+ |true
92
+ |If `false`, then the only way to switch the slide is use of API *methods*
93
+ like *slidePrev()* or *slideNext()*.
94
+
95
+ |===
96
+
97
+ [role="mt-4"]
98
+ === allowTouchMove
99
+
100
+ Control to switch slides by using API *methods* like
101
+ *slidePrev()* or *slideNext()*.
102
+
103
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
104
+ |===
105
+ |Name |Type |Default |Description \| Example
106
+
107
+ |`allowTouchMove`
108
+ |boolean
109
+ |true
110
+ |If `false`, then the only way to switch the slide is use of API *methods*
111
+ like *slidePrev()* or *slideNext()*.
112
+
113
+ |===
114
+
115
+ [role="mt-4"]
116
+ === autoHeight
117
+
118
+ Set the *slider wrapper* to adapt its height from the height of the
119
+ currently active slide.
120
+
121
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
122
+ |===
123
+ |Name |Type |Default |Description \| Example
124
+
125
+ |`autoHeight`
126
+ |boolean
127
+ |false
128
+ |Set to `true` and slider wrapper will adapt its height to the height of
129
+ the currently active slide.
130
+
131
+ |===
132
+
133
+ [role="mt-4"]
134
+ === autoplay
135
+
136
+ Enable and configure the Autoplay module for auto playing *behaviour* of a
137
+ SwiperJS slider.
138
+
139
+ [TIP]
140
+ ====
141
+ Find all available configurable *settings* with <<Autoplay>> in
142
+ section hModules>>.
143
+ ====
144
+
145
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
146
+ |===
147
+ |Name |Type |Default |Description \| Example
148
+
149
+ |`autoplay`
150
+ |any
151
+ |*no default*
152
+ |Object with autoplay parameters or boolean `true` to enable with
153
+ *default* settings.
154
+
155
+ [source, js]
156
+ ----
157
+ const swiper = new Swiper('.swiper', {
158
+ autoplay: {
159
+ delay: 5000
160
+ }
161
+ });
162
+ ----
163
+
164
+ |===
165
+
166
+ [role="mt-4"]
167
+ === breakpoints
168
+
169
+ Allows to set parameters for responsive breakpoints.
170
+
171
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
172
+ |===
173
+ |Name |Type |Default |Description \| Example
174
+
175
+ |`breakpoints`
176
+ |object
177
+ |*no default*
178
+ |Allows to set different parameter for different responsive breakpoints
179
+ (screen sizes). Not all parameters can be changed in breakpoints, only
180
+ those which do not require different layout and logic, like
181
+ `slidesPerView`, `slidesPerGroup`, `spaceBetween`, `grid.rows`.
182
+
183
+ [CAUTION]
184
+ ====
185
+ Parameters like `loop` and `effect` won't work.
186
+ ====
187
+
188
+ [source, js]
189
+ ----
190
+ const swiper = new Swiper('.swiper', {
191
+ // Default parameters
192
+ slidesPerView: 1,
193
+ spaceBetween: 10,
194
+ // Responsive breakpoints
195
+ breakpoints: {
196
+ // when window width is >= 320px
197
+ 320: {
198
+ slidesPerView: 2,
199
+ spaceBetween: 20
200
+ },
201
+ // when window width is >= 480px
202
+ 480: {
203
+ slidesPerView: 3,
204
+ spaceBetween: 30
205
+ },
206
+ // when window width is >= 640px
207
+ 640: {
208
+ slidesPerView: 4,
209
+ spaceBetween: 40
210
+ }
211
+ }
212
+ });
213
+ ----
214
+
215
+ [source, js]
216
+ ----
217
+ const swiper = new Swiper('.swiper', {
218
+ slidesPerView: 1,
219
+ spaceBetween: 10,
220
+ // using "ratio" endpoints
221
+ breakpoints: {
222
+ '@0.75': {
223
+ slidesPerView: 2,
224
+ spaceBetween: 20,
225
+ },
226
+ '@1.00': {
227
+ slidesPerView: 3,
228
+ spaceBetween: 40,
229
+ },
230
+ '@1.50': {
231
+ slidesPerView: 4,
232
+ spaceBetween: 50,
233
+ }
234
+ }
235
+ });
236
+ ----
237
+
238
+ |===
239
+
240
+ [role="mt-4"]
241
+ === breakpointsBase
242
+
243
+ Specify the base for breakpoints.
244
+
245
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
246
+ |===
247
+ |Name |Type |Default |Description \| Example
248
+
249
+ |`breakpointsBase`
250
+ |any
251
+ |_window_
252
+ |Base for breakpoints. Can be _window_ or _container_. If set to _window_
253
+ (by default) then breakpoint keys mean *window width*. If set to `container`
254
+ then breakpoint keys treated as *swiper container width*.
255
+
256
+ |===
257
+
258
+ [role="mt-4"]
259
+ === cardsEffect
260
+
261
+ Specify Cards-effect parameters.
262
+
263
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
264
+ |===
265
+ |Name |Type |Default |Description \| Example
266
+
267
+ |`cardsEffect`
268
+ |any
269
+ |*no default*
270
+ |Object with Cards-effect parameters.
271
+
272
+ [source, js]
273
+ ----
274
+ const swiper = new Swiper('.swiper', {
275
+ effect: 'cards',
276
+ cardsEffect: {
277
+ // ...
278
+ }
279
+ });
280
+ ----
281
+ |===
282
+
283
+ [role="mt-4"]
284
+ === centerInsufficientSlides
285
+
286
+ Enabe or disable to center slides.
287
+
288
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
289
+ |===
290
+ |Name |Type |Default |Description \| Example
291
+
292
+ |`centerInsufficientSlides`
293
+ |boolean
294
+ |false
295
+ |When enabled it center slides if the amount of *slides less* than
296
+ `slidesPerView`.
297
+
298
+ [CAUTION]
299
+ ====
300
+ Not intended to be used in `loop` mode and `grid.rows`.
301
+ ====
302
+
303
+ |===
304
+
305
+ [role="mt-4"]
306
+ === centeredSlides
307
+
308
+ Control to center *active* slides.
309
+
310
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
311
+ |===
312
+ |Name |Type |Default |Description \| Example
313
+
314
+ |`centeredSlides`
315
+ |boolean
316
+ |false
317
+ |If `true`, then active slide will be centered, not always on the left
318
+ side.
319
+
320
+ |===
321
+
322
+ [role="mt-4"]
323
+ === centeredSlidesBounds
324
+
325
+ Control to center *active* slides without adding gaps.
326
+
327
+ [CAUTION]
328
+ ====
329
+ Not intended to be used with `loop` or `pagination`.
330
+ ====
331
+
332
+
333
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
334
+ |===
335
+ |Name |Type |Default |Description \| Example
336
+
337
+ |`centeredSlidesBounds`
338
+ |boolean
339
+ |false
340
+ |If `true`, then active slide will be centered without adding gaps at
341
+ the beginning and end of slider.
342
+
343
+ [CAUTION]
344
+ ====
345
+ Required: `centeredSlides: true`.
346
+
347
+ Not intended to be used with `loop` or `pagination`.
348
+ ====
349
+
350
+ |===
351
+
352
+
353
+ [role="mt-4"]
354
+ === containerModifierClass
355
+
356
+ The *beginning* of the modifier CSS class to center slides.
357
+
358
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
359
+ |===
360
+ |Name |Type |Default |Description \| Example
361
+
362
+ |`containerModifierClass`
363
+ |string
364
+ |swiper-
365
+ |The *beginning* of the modifier CSS class that can be added to swiper
366
+ container depending on different parameters.
367
+
368
+ |===
369
+
370
+ [role="mt-4"]
371
+ === controller
372
+
373
+ Set Swiper *controller* parameters.
374
+
375
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
376
+ |===
377
+ |Name |Type |Default |Description \| Example
378
+
379
+ |`controller`
380
+ |any
381
+ |*no default*
382
+ |Object with controller parameters or boolean `true` to enable with
383
+ *default* settings.
384
+
385
+ [source, js]
386
+ ----
387
+ const swiper = new Swiper('.swiper', {
388
+ controller: {
389
+ inverse: true
390
+ }
391
+ });
392
+ ----
393
+
394
+ |===
395
+
396
+ [role="mt-4"]
397
+ === coverflowEffect
398
+
399
+ Set Overflow Effect parameters.
400
+
401
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
402
+ |===
403
+ |Name |Type |Default |Description \| Example
404
+
405
+ |`coverflowEffect`
406
+ |any
407
+ |*no default*
408
+ |Object with Coverflow-effect parameters.
409
+
410
+ [source, js]
411
+ ----
412
+ const swiper = new Swiper('.swiper', {
413
+ effect: 'coverflow',
414
+ coverflowEffect: {
415
+ rotate: 30,
416
+ slideShadows: false
417
+ }
418
+ });
419
+ ----
420
+
421
+ |===
422
+
423
+ [role="mt-4"]
424
+ === createElements
425
+
426
+ Control how to wrap slides by an swiper-wrapper element.
427
+
428
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
429
+ |===
430
+ |Name |Type |Default |Description \| Example
431
+
432
+ |`createElements`
433
+ |boolean
434
+ |false
435
+ |When enabled, Swiper will automatically wrap slides with swiper-wrapper
436
+ element, and will create required elements for navigation, pagination
437
+ and scrollbar they are enabled (with their respective params object or
438
+ with boolean `true`).
439
+
440
+ |===
441
+
442
+ [role="mt-4"]
443
+ === creativeEffect
444
+
445
+ Set creative effect parameters.
446
+
447
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
448
+ |===
449
+ |Name |Type |Default |Description \| Example
450
+
451
+ |`creativeEffect`
452
+ |any
453
+ |*no default*
454
+ |Object with Creative-effect parameters
455
+
456
+ [source, js]
457
+ ----
458
+ const swiper = new Swiper('.swiper', {
459
+ effect: 'creative',
460
+ creativeEffect: {
461
+ prev: {
462
+ // will set `translateZ(-400px)` on previous slides
463
+ translate: [0, 0, -400],
464
+ },
465
+ next: {
466
+ // will set `translateX(100%)` on next slides
467
+ translate: ['100%', 0, 0],
468
+ }
469
+ }
470
+ });
471
+ ----
472
+
473
+ |===
474
+
475
+ [role="mt-4"]
476
+ === cssMode
477
+
478
+ Enable or disable CSS *Scroll Snap API*.
479
+
480
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
481
+ |===
482
+ |Name |Type |Default |Description \| Example
483
+
484
+ |`cssMode`
485
+ |boolean
486
+ |false
487
+ | When enabled, Swiper will use modern CSS Scroll Snap API. It doesn't support
488
+ *all* of Swiper's features, but potentially should bring a much better
489
+ *performance* in simple configurations.
490
+
491
+ This is what is not supported when it is enabled:
492
+
493
+ * *Cube* effect
494
+ * Parameter `speed` may not have no effect
495
+ * All *transition start\|end* related events. Use `slideChange` instead
496
+ * Parameter `slidesPerGroup` has limited support
497
+ * Parameter `simulateTouch` doesn't have effect and "dragging" with mouse doesn't work
498
+ * Parameter `resistance` doesn't have any effect
499
+ * Parameter `allowslidePrev()/Next`
500
+ * Parameter `swipeHandler`
501
+
502
+ In case if you use it with other effects, especially *3D effects*, it is
503
+ required to wrap slide's content with a
504
+ *<div className="swiper-slide-transform">* element. And if you use any
505
+ custom styles on slides (like background colors, border radius, border,
506
+ etc.), they should be set on `swiper-slide-transform` element instead.
507
+
508
+ [source, html]
509
+ ----
510
+ <div class="swiper">
511
+ <div class="swiper-wrapper">
512
+ <div class="swiper-slide">
513
+ <!-- wrap slide content with transform element -->
514
+ <div class="swiper-slide-transform">
515
+ ... slide content ...
516
+ </div>
517
+ </div>
518
+ ...
519
+ </div>
520
+ </div>
521
+
522
+ <script>
523
+ const swiper = new Swiper('.swiper', {
524
+ effect: 'flip',
525
+ cssMode: true
526
+ });
527
+ </script>
528
+ ----
529
+
530
+ |===
531
+
532
+ [role="mt-4"]
533
+ === cubeEffect
534
+
535
+ Set cube effect parameters.
536
+
537
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
538
+ |===
539
+ |Name |Type |Default |Description \| Example
540
+
541
+ |`cubeEffect`
542
+ |any
543
+ |*no default*
544
+ |Object with Cube-effect parameters
545
+
546
+ [source, js]
547
+ ----
548
+ const swiper = new Swiper('.swiper', {
549
+ effect: 'cube',
550
+ cubeEffect: {
551
+ slideShadows: false
552
+ }
553
+ });
554
+ ----
555
+
556
+ |===
557
+
558
+ [role="mt-4"]
559
+ === direction
560
+
561
+ Set the direction for Swipoer sliders.
562
+
563
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
564
+ |===
565
+ |Name |Type |Default |Description \| Example
566
+
567
+ |`direction`
568
+ |horizontal \| vertical
569
+ |horizontal
570
+ |Can be `horizontal` or `vertical` for vertical sliders.
571
+
572
+ |===
573
+
574
+ [role="mt-4"]
575
+ === edgeSwipeDetection
576
+
577
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
578
+ |===
579
+ |Name |Type |Default |Description \| Example
580
+
581
+ |`edgeSwipeDetection`
582
+ |string \| boolean
583
+ |false
584
+ |Enable to release Swiper events for swipe-back work in app. If
585
+ set to `prevent` (string) then it will prevent system swipe-back navigation
586
+ instead. This feature works only with *touch* events (*not* pointer
587
+ events), so it will work on iOS/Android devices and won't work on
588
+ Windows devices with pointer (touch) events.
589
+
590
+ |===
591
+
592
+ [role="mt-4"]
593
+ === edgeSwipeThreshold
594
+
595
+ Area (in px) from left edge of the screen to release touch events.
596
+
597
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
598
+ |===
599
+ |Name |Type |Default |Description \| Example
600
+
601
+ |`edgeSwipeThreshold`
602
+ |number
603
+ |20
604
+ |Area (in px) from left edge of the screen to release touch events for
605
+ swipe-back in app.
606
+
607
+ |===
608
+
609
+ [role="mt-4"]
610
+ === effect
611
+
612
+ Set slide transition effects.
613
+
614
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
615
+ |===
616
+ |Name |Type |Default |Description \| Example
617
+
618
+ |`effect`
619
+ |string
620
+ |_slide_
621
+ |Transition effect. Can be `slide`, `fade`, `cube`, `coverflow`, `flip`,
622
+ `creative` or `cards`.
623
+
624
+ |===
625
+
626
+ [role="mt-4"]
627
+ === enabled
628
+
629
+ Control if a Swiper slideshow is initially enabled.
630
+
631
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
632
+ |===
633
+ |Name |Type |Default |Description \| Example
634
+
635
+ |`enabled`
636
+ |boolean
637
+ |true
638
+ |Whether Swiper initially enabled. When Swiper is disabled, it will hide
639
+ all navigation elements and won't respond to any events and interactions.
640
+
641
+ |===
642
+
643
+ [role="mt-4"]
644
+ === eventsPrefix
645
+
646
+ Cntrol event name prefix for all Swiper DOM events.
647
+
648
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
649
+ |===
650
+ |Name |Type |Default |Description \| Example
651
+
652
+ |`eventsPrefix`
653
+ |string
654
+ |_swiper_
655
+ |Event name prefix for all DOM events emitted by Swiper Element.
656
+
657
+ |===
658
+
659
+ [role="mt-4"]
660
+ === fadeEffect
661
+
662
+ Set fade effect parameters.
663
+
664
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
665
+ |===
666
+ |Name |Type |Default |Description \| Example
667
+
668
+ |`fadeEffect`
669
+ |any
670
+ |*no default*
671
+ |Object with Fade-effect parameters
672
+
673
+ [source, js]
674
+ ----
675
+ const swiper = new Swiper('.swiper', {
676
+ effect: 'fade',
677
+ fadeEffect: {
678
+ crossFade: true
679
+ }
680
+ });
681
+ ----
682
+
683
+ |===
684
+
685
+ [role="mt-4"]
686
+ === flipEffect
687
+
688
+ Set flip effect parameters.
689
+
690
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
691
+ |===
692
+ |Name |Type |Default |Description \| Example
693
+
694
+ |`flipEffect`
695
+ |any
696
+ |*no default*
697
+ |Object with Flip-effect parameters
698
+
699
+ [source, js]
700
+ ----
701
+ const swiper = new Swiper('.swiper', {
702
+ effect: 'flip',
703
+ flipEffect: {
704
+ slideShadows: false
705
+ }
706
+ });
707
+ ----
708
+ |===
709
+
710
+ [role="mt-4"]
711
+ === focusableElements
712
+
713
+ Set CSS selector for focusable elements.
714
+
715
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
716
+ |===
717
+ |Name |Type |Default |Description \| Example
718
+
719
+ |`focusableElements`
720
+ |string
721
+ |_input_ \| _select_ \| _option_ \| _textarea_ \| _button_ \| _video_ \| _label_
722
+ |CSS selector for focusable elements. Swiping will be disabled on
723
+ such elements if they are *focused*.
724
+
725
+ |===
726
+
727
+ [role="mt-4"]
728
+ === followFinger
729
+
730
+ Set slider animated only when you release it.
731
+
732
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
733
+ |===
734
+ |Name |Type |Default |Description \| Example
735
+
736
+ |`followFinger`
737
+ |boolean
738
+ |true
739
+ |If disabled, then slider will be animated only when you release it,
740
+ it will not move while you hold your finger on it.
741
+
742
+ |===
743
+
744
+ [role="mt-4"]
745
+ === freeMode
746
+
747
+ Enables or disables free mode functionality.
748
+
749
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
750
+ |===
751
+ |Name |Type |Default |Description \| Example
752
+
753
+ |`freeMode`
754
+ |any
755
+ |*no default*
756
+ |Enables free mode functionality. Object with free mode parameters or
757
+ boolean `true` to enable with *default* settings.
758
+
759
+ [source, js]
760
+ ----
761
+ const swiper = new Swiper('.swiper', {
762
+ freeMode: true
763
+ });
764
+
765
+ const swiper = new Swiper('.swiper', {
766
+ freeMode: {
767
+ enabled: true,
768
+ sticky: true
769
+ },
770
+ });
771
+ ----
772
+
773
+ |===
774
+
775
+ [role="mt-4"]
776
+ === grabCursor
777
+
778
+ Improve desktop usability by setting the *grab cursor* when hover on Swiper.
779
+
780
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
781
+ |===
782
+ |Name |Type |Default |Description \| Example
783
+
784
+ |`grabCursor`
785
+ |boolean
786
+ |false
787
+ |This option may a little improve desktop usability. If `true`, user
788
+ will see the *grab cursor* when hover on Swiper.
789
+
790
+ |===
791
+
792
+
793
+ [role="mt-4"]
794
+ === grid
795
+
796
+ Enable *multirow* slider.
797
+
798
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
799
+ |===
800
+ |Name |Type |Default |Description \| Example
801
+
802
+ |`grid`
803
+ |any
804
+ |*no default*
805
+ |Object with grid parameters to enable *multirow* slider.
806
+
807
+ [source, js]
808
+ ----
809
+ const swiper = new Swiper('.swiper', {
810
+ grid: {
811
+ rows: 2
812
+ }
813
+ });
814
+ ----
815
+
816
+ |===
817
+
818
+ [role="mt-4"]
819
+ === hashNavigation
820
+
821
+ Enables or disables hash url navigation for slides.
822
+
823
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
824
+ |===
825
+ |Name |Type |Default |Description \| Example
826
+
827
+ |`hashNavigation`
828
+ |any
829
+ |*no default*
830
+ |Enables hash url navigation for slides. Object with hash navigation
831
+ parameters or boolean `true` to enable with *default* settings.
832
+
833
+ [source, js]
834
+ ----
835
+ const swiper = new Swiper('.swiper', {
836
+ hashNavigation: {
837
+ replaceState: true
838
+ }
839
+ });
840
+ ----
841
+
842
+ |===
843
+
844
+ [role="mt-4"]
845
+ === height
846
+
847
+ Force Swiper height.
848
+
849
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
850
+ |===
851
+ |Name |Type |Default |Description \| Example
852
+
853
+ |height
854
+ |null \| number
855
+ |null
856
+ |Swiper height (in px). Parameter allows to force Swiper height. Useful
857
+ only if you initialize Swiper when it is hidden and in SSR and Test
858
+ environments for correct Swiper initialization
859
+
860
+ [CAUTION]
861
+ ====
862
+ Setting this parameter will make Swiper *not responsive*.
863
+ ====
864
+
865
+ |===
866
+
867
+ [role="mt-4"]
868
+ === history
869
+
870
+ Enables history push state.
871
+
872
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
873
+ |===
874
+ |Name |Type |Default |Description \| Example
875
+
876
+ |`history`
877
+ |any
878
+ |*no default*
879
+ |Enables history push state where every slide will have its own url. In
880
+ this parameter you have to specify main slides url like `slides` and
881
+ specify every slide url using `data-history` attribute.
882
+
883
+ Object with history navigation parameters or boolean `true` to enable
884
+ with default settings.
885
+
886
+ [source, js]
887
+ ----
888
+ const swiper = new Swiper('.swiper', {
889
+ history: {
890
+ replaceState: true
891
+ }
892
+ });
893
+ ----
894
+
895
+ [source, html]
896
+ ----
897
+ <!-- will produce "slides/slide1" url in browser history -->
898
+ <div class="swiper-slide" data-history="slide1"></div>
899
+ ----
900
+
901
+ |===
902
+
903
+ [role="mt-4"]
904
+ === init
905
+
906
+ Specify, if Swiper should be initialised automatically.
907
+
908
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
909
+ |===
910
+ |Name |Type |Default |Description \| Example
911
+
912
+ |`init`
913
+ |boolean
914
+ |true
915
+ |Whether Swiper should be initialised automatically when you create an
916
+ instance. If disabled, then you need to init it manually by calling
917
+ `swiper.init()`.
918
+
919
+ |===
920
+
921
+ [role="mt-4"]
922
+ === initialSlide
923
+
924
+ Set the index number of the initial slide.
925
+
926
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
927
+ |===
928
+ |Name |Type |Default |Description \| Example
929
+
930
+ |`initialSlide`
931
+ |number
932
+ |0
933
+ |Index number of the initial slide.
934
+
935
+ |===
936
+
937
+ [role="mt-4"]
938
+ === injectStyles
939
+
940
+ Inject text styles to the shadow DOM.
941
+
942
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
943
+ |===
944
+ |Name |Type |Default |Description \| Example
945
+
946
+ |`injectStyles`
947
+ |string[]
948
+ |*no default*
949
+ |Inject text styles to the shadow DOM. Only for usage with Swiper Element.
950
+
951
+ |===
952
+
953
+ [role="mt-4"]
954
+ === injectStylesUrls
955
+
956
+ Inject styles `<link>`s to the shadow DOM.
957
+
958
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
959
+ |===
960
+ |Name |Type |Default |Description \| Example
961
+
962
+ |`injectStylesUrls`
963
+ |string[]
964
+ |*no default*
965
+ |Inject styles `<link>`s to the shadow DOM. Only for usage with Swiper Element.
966
+
967
+ |===
968
+
969
+ [role="mt-4"]
970
+ === keyboard
971
+
972
+ Enables or disables navigation through slides using keyboard.
973
+
974
+ [cols="3,2,2,5a", subs=+macros, options="header", width="100%", role="rtable mt-4"]
975
+ |===
976
+ |Name |Type |Default |Description \| Example
977
+
978
+ |`keyboard`
979
+ |any
980
+ |*no default*
981
+ |Enables navigation through slides using keyboard. Object with keyboard
982
+ parameters or boolean `true` to enable with *default* settings.
983
+
984
+ [source, js]
985
+ ----
986
+ const swiper = new Swiper('.swiper', {
987
+ keyboard: {
988
+ enabled: true,
989
+ onlyInViewport: false
990
+ }
991
+ });
992
+ ----
993
+
994
+ |===