8000 GitHub - zhizhunbao995/update: 下拉刷新,到滚动到头了继续滑动出发下来事件。
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

zhizhunbao995/update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

update.js

下拉刷新,可以定制。模拟APP。 /*

  • @param {HTMLElement} 滑动的 dom
  • @param {function} 滑动中的callback(point)
  • @param {function} 滑动结束的callback(point) */ initUpdate(element,function(point){ console.log(point) },function(point){ console.log("end") },{animate:0.3})

About

下拉刷新,到滚动到头了继续滑动出发下来事件。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0