We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
类型:string
string
config.lists
".j_slideLists"
config.tags
".j_slideTags"
config.posCur
".j_slideCur"
config.posPages
".j_slidePages"
config.btnPrev
".j_slidePrev"
config.btnNext
".j_slideNext"
config.trigger
"mouseenter"
config.tagClass
"current"
config.btnClass
"disabled"
类型:number
number
config.duration
400
config.interval
5000
config.hoverDelay
0
config.cur
config.scrollLen
config.imgAttr
"data-slide-img"
类型:boolean
boolean
config.keepTags
false
config.btnDisable
config.auto
config.lazyload
config.beLock
The text was updated successfully, but these errors were encountered:
No branches or pull requests
查询字符串
类型:
string
config.lists
:轮播图列表所处容器的 selector,默认值:".j_slideLists"
;config.tags
:分页标签所处容器的 selector,默认值:".j_slideTags"
;config.posCur
:显示当前页码的容器的 selector,默认值:".j_slideCur"
;config.posPages
:显示总页数的容器的 selector,默认值:".j_slidePages"
;config.btnPrev
:上一页按钮的 selector,默认值:".j_slidePrev"
;config.btnNext
:下一页按钮的 selector,默认值:".j_slideNext"
。基本选项
类型:
string
config.trigger
:分页标签的触发事件,默认值:"mouseenter"
(鼠标滑入切换) ;config.tagClass
:标签项选中时附加的类名标识,默认值:"current"
;config.btnClass
:按钮被禁用时附加的类名标识,默认值:"disabled"
。类型:
number
config.duration
:切换效果的持续时间,默认值:400
(毫秒) ;config.interval
:自动切换时的时间间隔,默认值:5000
(毫秒);config.hoverDelay
:鼠标悬浮切换时,分页标签的响应延迟时间,默认值:0
(毫秒);数值选项
类型:
number
config.cur
:默认显示的内容项的索引,默认值:0
;config.scrollLen
:每次切换将滚动的单位长度,默认值:0
,表示可视区域的所有列(横向)或所有行(纵向)。属性选项
类型:
string
config.imgAttr
:当启用图片的懒加载时,用于表示真实 url 的自定义属性,默认值:"data-slide-img"
。布尔选项
类型:
boolean
config.keepTags
:是否保留分页标签的原始内容,默认值:false
(分页标签项将由程序自动生成);config.btnDisable
:是否在首页和尾页时启用分页按钮的禁用状态,默认值:false
;config.auto
:是否执行自动切换,默认值:false
;config.lazyload
:是否启用图片的懒加载功能,默认值:false
;config.beLock
:当处于轮播的运动状态时,是否将当前轮播置为锁定状态(按钮点击将不会触发切换,但分页标签可以),默认值:false
;The text was updated successfully, but these errors were encountered: