vue-smart-swiper
v1.0.21
Published
a vue swiper component base on swiper4
Downloads
10
Readme
vue-snart-swiper
base on Swiper4
Usage
npm install vue-smart-swiper --save
import VueSmartSwiper fron 'vue-smart-swiper'
npm run dev
npm run build
Props:
pagination:Boolean false|true 是否显示分页
button:Boolean false|true 是否显示 next prev按钮
scrollbar:Boolean false|true 是否显示滚动条
option:Object swiper配置文件
Properties
swiper:Swiper Swiper实例 可以参考 Swiper4官方文档
events:
拥有所有swiper的事件,需注意事件名称全部小写
init
beforedestroy
slidechange
slidechangetransitionstart
slidechangetransitionend
slideNexttransitionstart
slideNexttransitionend
slidePrevtransitionstart
slidePrevtransitionend
transitionstart
transitionend
touchstart
touchmove
touchnoveopposite
slidernove
touchend
click
tap
doubletap
imagesready
progress
reachbeginning
reachend
fromedge
settranslate
settransition
resize