hyprland-website/public/js/swiper.js
2022-08-19 13:27:57 +05:30

17 lines
290 B
JavaScript

const swiper = new Swiper(".swiper", {
autoplay: {
delay: 2000,
disableOnInteraction: true,
},
loop: true,
pagination: {
el: ".swiper-pagination",
clickable: true,
},
navigation: {
nextEl: ".swiper-button-next",
prevEl: ".swiper-button-prev",
},
});