This repository has been archived by the owner on Sep 27, 2021. It is now read-only.
forked from svdgraaf/pull-to-refresh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo.html
55 lines (55 loc) · 1.59 KB
/
demo.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!DOCTYPE html>
<html>
<head>
<link href='./css/demo.css' rel='stylesheet' />
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js'></script>
<title>Pull-To-Refresh Demo</title>
<meta content='width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0' name='viewport' />
<meta content='yes' name='apple-mobile-web-app-capable' />
<meta content='black' name='apple-mobile-web-app-status-bar-style' />
</head>
<body>
<div id='wrapper'>
<ul>
<li>This will only work on mobile device</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
<li>List item</li>
</ul>
</div>
<script src='./js/jquery.pull-to-refresh.js'></script>
<script>
$(document).ready(function(){
$('#wrapper').pull_to_refresh({
refresh: function(stoploading){
stoploading();
}
});
});
</script>
</body>
</html>