Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

106
Visualizações
Call Ajax for next page of pagination in SwiperJS

Hi i am using SwiperJS for sliding my products and my data is loading with Ajax and i have Pagination on APIs so i have next and last page address .

Is there any solution to ajax the next page when user reaches to last slide on Swiper ?

and if it's not , please tell me how sync Swiper pagination with Ajax because i have more than 100 products and i can't load them all when page loads.

here is my HTML Swiper code :

swiper1 = new Swiper(".BookSwiper-a", {
  slidesPerView: 1,
  spaceBetween: 55,
  loop: false,
  autoplay: {
    delay: 5000,
    disableOnInteraction: false,
  },
  breakpoints: {
    
    768: {
      slidesPerView: 1,
    },

    769: {
      slidesPerView: 3,
    },
    
    992: {
      slidesPerView: 3,
    },
    
    1480: {
      slidesPerView: 5,
    }
  },
  navigation: {
    nextEl: ".cmt-slide-next-a",
    prevEl: ".cmt-slide-prev-a",
  },
});

and i use Ajax to load products then Swiper.update()

Thanks for you help

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda