Untitled

mail@pastecode.io avatar
unknown
plain_text
15 days ago
1.2 kB
2
Indexable
Never
var fndCarousel1 = new Swiper(".fnd-carousel-1", {
           preloadImages: true,
           lazy: true,
           lazyPreloadPrevNext: 1,
           slidesPerView: 1,
           spaceBetween: 10,
           slidesPerGroupSkip: 1,
           resizeObserver:true,
           updateOnWindowResize:true,
           calculateHeight:true,
           setWrapperSize:true,
           watchSlidesProgress: true,
           navigation: {
             nextEl: ".fnd-carousel-1 .fnd-slider-next",
             prevEl: ".fnd-carousel-1 .fnd-slider-prev",
           },
           pagination: {
             el: ".fnd-carousel-1 .swiper-pagination",
             dynamicBullets: true,
             clickable:true
           },
           breakpoints: {
             768: {
               slidesPerView: 2,
               spaceBetween: 10,
         
             },
             992: {
               slidesPerView: 3,
               spaceBetween: 16,
         
             },
             1200: {
               slidesPerView: 4,
               spaceBetween: 16,
         
             },
             1400: {
               slidesPerView: 5,
               spaceBetween: 16,
         
             },
           },
         });
Leave a Comment