hyprland-website/public/js/swiper.js

22 lines
340 B
JavaScript
Raw Normal View History

2022-08-13 16:15:08 +02:00
const swiper = new Swiper(".swiper", {
autoplay: {
delay: 2500,
disableOnInteraction: true,
},
loop: true,
pagination: {
el: ".swiper-pagination",
clickable: true,
},
navigation: {
nextEl: ".swiper-button-next",
prevEl: ".swiper-button-prev",
},
scrollbar: {
el: ".swiper-scrollbar",
},
});