多个swiper间切换,swiper-container隐藏后再显示不会触发自动播放,必须手势滑动一次,才能被触发自动播放,怎么解决,下边是配置参数
autoplay: 3000,
speed: 500,
loop: true,
observer:true,
observeParents:true,
autoplayDisableOnInteraction : false,
多个swiper间切换,swiper-container隐藏后再显示不会触发自动播放,必须手势滑动一次,才能被触发自动播放,怎么解决,下边是配置参数
autoplay: 3000,
speed: 500,
loop: true,
observer:true,
observeParents:true,
autoplayDisableOnInteraction : false,
swiper.stopAutoplay();
swiper.startAutoplay();