>[info] H.scrolltobottom(callback);,監聽滾動條是否滾動到底部事件,,支持距離底部多少觸發設置,支持雙系統調用。
*****
#### 輸入參數
##### **callback**:回調函數,Function類型,函數傳入參數:
~ ret:JSON對象類型,無說明。
~ err:JSON對象類型,無說明。
##### **threshold**:距離底部多少像素觸發,Number類型,默認值:0
*****
#### 使用示例
```
H.scrolltobottom(function(ret,err){
// TODO=>
});
// 距離底部10像素觸發
H.scrolltobottom(function(ret,err){
// TODO=>
},10);
```
- 序言簡介
- 約定與規則
- 捐贈與外包
- 版本迭代
- 開始使用
- 屬性
- appId
- appName
- appVersion
- systemType
- systemVersion
- version
- deviceId
- deviceToken
- deviceModel
- deviceName
- operator
- connectionType
- fullScreen
- screenWidth
- screenHeight
- winName
- winWidth
- winHeight
- frameName
- frameWidth
- frameHeight
- pageParam
- wgtParam
- appParam
- wgtRootDir
- fsDir
- cacheDir
- 事件
- batterylow
- batterystatus
- keyback
- keymenu
- volumeup
- volumedown
- offline
- online
- pause
- resume
- scrolltobottom
- shake
- swipedown
- swipeleft
- swiperight
- swipeup
- tap
- longpress
- viewappear
- viewdisappear
- noticeclicked
- appintent
- smartupdatefinish
- 方法
- v
- M
- trim
- getFileExt
- getAgeForBirthDay
- isNumber
- isPlusDecimal
- isDate
- getNowDateFormat
- transPHPTimestamp
- transJsTimestamp
- isObject
- cloneObj
- extendObj
- isFunction
- isArray
- newGUID
- unique
- addEventListener
- 常量
- 模板引擎
- 語法糖
- 建議收集