-
Notifications
You must be signed in to change notification settings - Fork 97
android pull_refresh
zhangyanqiang edited this page Apr 26, 2018
·
1 revision
参数 | 参数描述 | 参数类型 | 备注 |
---|---|---|---|
enable | 是否起作用 | boolean | 默认为false |
color | 转动箭头颜色 | int | |
background | 转动箭头的背景颜色 | int | |
refresh | 下拉后的回调事件 | function |
var mSwipeRefresh={
enabled:true,
color:0xffffffff,
background:0xFF888888,
refresh:function(){
console.log("swipeRefreshPlugin refresh");
},
}
__base__.triggerEvent("setSwipeRefresh", mSwipeRefresh);