javascript 如何在 webapp 中执行此下拉刷新?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/6950536/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-25 22:27:36  来源:igfitidea点击:

How to do this pull-to-refresh in webapp?

javascriptiphoneajaxmobile-safaripull-to-refresh

提问by ohho

How is the Gmail pull-to-refresh implemented?

Gmail 下拉刷新是如何实现的?

enter image description here

在此处输入图片说明

回答by Michael Drob

latest version of iScrollhas this built in

最新版本的iScroll内置了这个

回答by SipSop

Large, hidden jquery slider or draggable of some sort? I made a time picker widget using those techniques recently and it worked ok.

大的、隐藏的 jquery 滑块或某种可拖动的?我最近使用这些技术制作了一个时间选择器小部件,它工作正常。