更新时间:2020-11-11 00:08:43
更新说明:更新了不能自动轮播的bug
更新时间:2020-09-04 00:03:08
LoopSlider.init({
el: ".content", //选择器
navigator: {
//前进后退按钮
prevEl: ".prev",
nextEl: ".next"
},
easing: "ease", //动画效果cubic-bezier(0.985, -0.060, 0.000, 1.320)
duration: 300, //过渡时间,默认为3000ms,
autoplay: true, //boolean 和 number 设置为true 默认延时为3s,如果设置为1000,延时为1s
})