mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-30 09:35:40 +00:00
19 lines
514 B
JavaScript
19 lines
514 B
JavaScript
|
document.addEventListener("DOMContentLoaded", function() {
|
||
|
|
||
|
// Initializing the swiper plugin for the slider.
|
||
|
// Read more here: http://idangero.us/swiper/api/
|
||
|
|
||
|
var mySwiper = new Swiper('.swiper-container', {
|
||
|
loop: true,
|
||
|
pagination: {
|
||
|
el: '.swiper-pagination' ,
|
||
|
clickable: true
|
||
|
},
|
||
|
paginationClickable: true,
|
||
|
navigation: {
|
||
|
nextEl: '.swiper-button-next',
|
||
|
prevEl: '.swiper-button-prev'
|
||
|
}
|
||
|
});
|
||
|
|
||
|
});
|