Skip to content

swipeSlide移动端全屏滑动插件,原生js版,react+ts版本

Notifications You must be signed in to change notification settings

ITCNZ/swipeSlide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Swipe 移动滑屏组件

组件提供轮播功能,支持手势滑动,两个版本,一个原生js版本,一个reat+ts版本

API

属性 说明 类型 默认值
autoPlay 是否自滚动 boolean false
initIndex 默认起始索引 number 0
showIndicators 是否显示指示器 boolean true
indicatorColor 指示器颜色 string #ffffff
indicatorType 指示器形式,dot圆点、number数字,两种类型 string dot
autoPlayDelay 滚动间隔时间,单位ms number 3000
imgsArr 轮播数据 array []
autoDir 滚动方向,row横向,column纵向 string row
swipeW 轮播宽度, 包括:数字,百分比。 number | string 100%
swipeH 轮播高度, 包括:数字。纵向滚动必须设置高度 number auto

About

swipeSlide移动端全屏滑动插件,原生js版,react+ts版本

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published