使用范围:WX
component Carousel ($UI/wxsys/comps/carousel/carousel) extends Component
Constructor Top
Carousel () | |||
Carousel ( config) |
Static Properties & Enumerations Top
String |
EVENT_INDEX_CHANGED
= "indexchanged"
序号变化事件 |
Methods Top
void | setCurrent (Integer current) |
Operations Top
void | setCurrent (Integer current) |
Events Top
void | indexchanged (IndexchangedEvent event) |
Constructor details
Top
public
Carousel
()
使用场景:幻灯片由多张图片组成,横向切换每张图片,可自动定时切换,也可手动切换
使用方法:通过设置“数据”和“图片列”属性,显示数据中每行对应的图片列中的图片
##
文档链接:#http://docs.newdao.net/huan-deng-pian.html#
public
Carousel
( config)
构造函数
Inherited from Operational
public
Carousel
()
public
Carousel
( config)
构造函数
Inherited from Operational
Static Properties & Enumerations Detail Top
static
public
String
EVENT_INDEX_CHANGED
= "indexchanged"
"indexchanged"
序号变化事件
Methods Detail Top
public
void
setCurrent
(Integer current)
设置当前序号
Operations Detail Top
public
void
setCurrent
(Integer current)
设置当前序号
Events Detail Top
序号变化事件