M-UI
主页
源码
(opens new window)
#
Carousel 走马灯
#
基础用法
#
指定指示器位置
#
Carousel属性
参数
说明
类型
可选值
默认值
height
走马灯的高度
string
-
-
autoplay
自动切换
boolean
-
true
interval
自动切换的时间间隔,单位为毫秒
number
-
3000
loop
是否循环显示
boolean
-
true
pagePosition
指示器的位置
string
none, outside, inside
inside
←
Progress 进度条