1.1.1 • Published 4 years ago
crash-swiper v1.1.1
crash-swiper
使用原生js编写的轮播图组件 演示链接: Demo
Installation
npm i crash-swiper
Usage
import CSwiper from 'crash-swiper'
let swiper = new CSwiper(el,option)
option
key | value | type |
---|---|---|
imgList | './img1.jpg','./img2.jpg' | array |
type | {rows:number,cols:number} | object |