swiper3鼠标经过轮播暂停,鼠标移出轮播开始方法

swiper3鼠标经过轮播暂停,鼠标移出轮播开始方法,把下面的官网的改成hover即可


$('#btn1').click(function(){
  mySwiper.autoplay.stop();
})
$('#btn2').click(function(){
  mySwiper.autoplay.start();
})
官网链接www.swiper.com.cn/api/autoplay/startAutoplay.html


相关内容

发表评论

验证码:
点击我更换图片

最新评论