'Swiper.js effect Cube => I want the cube to never stop moving
I have this code:
var swiper = new Swiper('.swiper-container', { width: 800, speed: 3000, spaceBetween: 0, effect: 'cube', grabCursor: true, loop: true, cssMode: false, //preventClicks: false, //preventClicksPropagation: false, cubeEffect: { shadow: true, slideShows: true, shadowOffset: 20, shadowScale: 0.94, }, pagination: { el: '.swiper-pagination' }, autoplay: { delay: 0.01 , disableOnInteraction: false, }, });
I set delay to 0 or 0.01 so that the cube does not stop moving, but always stays still for 1 second when the transition ends
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
