swiper3鼠标经过轮播暂停,鼠标移出轮播开始方法,把下面的官网的改成hover即可
$('#btn1').click(function(){ mySwiper.autoplay.stop(); }) $('#btn2').click(function(){ mySwiper.autoplay.start(); }) 官网链接www.swiper.com.cn/api/autoplay/startAutoplay.html
swiper3鼠标经过轮播暂停,鼠标移出轮播开始方法,把下面的官网的改成hover即可
$('#btn1').click(function(){ mySwiper.autoplay.stop(); }) $('#btn2').click(function(){ mySwiper.autoplay.start(); }) 官网链接www.swiper.com.cn/api/autoplay/startAutoplay.html