I'm creating a simple slideshow using swiper.js.
My config looks like this:
var mySwiper = new Swiper( '#swiper-container',
{
autoplay: {
delay : 400000
},
loop: true,
speed: 2800,
grabCursor : true
}
);
This pretty much works... except that the 'delay' parameter gets ignored.
I've also tried putting the 'delay' parameter outside of the autoplay object, like this:
v
ar mySwiper = new Swiper( '#swiper-container',
{
autoplay: true,
delay: 4000,
loop: true,
speed: 2800,
grabCursor : true
}
)
;
This doesn't help. The delay value is ignored.
What could be happening here?
#swiper-container
is present in the HTML?