sweiper鼠标划入停止轮播,鼠标画出开始轮播
//$('.swiper-container').mouseover(function(){// swiper.stopAutoplay();
//})
//$('.swiper-container').mouseout(function(){
// swiper.startAutoplay();
//})
报错TypeError: swiper.stopAutoplay is not a function
at HTMLDivElement
求大神帮忙怎么实现
我也找不到这个方法。。不知道怎么办,想着用3,不用④了 4 的是 mySwiper.autoplay.stop() 和 mySwiper.autoplay.start()
页:
[1]