React-id-swiper: 2.1.0 Autoplay does not work

Created on 19 Mar 2019  路  1Comment  路  Source: kidjp85/react-id-swiper

Here are the settings:

{
modules: [Pagination, Navigation],
    loop: true,
    pagination: {
      el: ".swiper-pagination",
      type: "bullets",
      clickable: true
    },
    autoplay: {
      delay: 1000,
      disableOnInteraction: false
    },
    navigation: {
      nextEl: ".swiper-button-next",
      prevEl: ".swiper-button-prev"
    },
    spaceBetween: 30,
    getSwiper: updateSwiper
}

Here is example https://codesandbox.io/s/r7n2w7vxqp

What I'm doing wrong?

Most helpful comment

You need to include Autoplay module in modules param to make it work.

>All comments

You need to include Autoplay module in modules param to make it work.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Alexandrdrdr picture Alexandrdrdr  路  3Comments

catamphetamine picture catamphetamine  路  5Comments

nerdyman picture nerdyman  路  3Comments

sergiokopplin picture sergiokopplin  路  4Comments

mbenjrinija picture mbenjrinija  路  4Comments