-
Notifications
You must be signed in to change notification settings - Fork 104
Expand file tree
/
Copy pathreload100.html
More file actions
36 lines (28 loc) · 1.14 KB
/
reload100.html
File metadata and controls
36 lines (28 loc) · 1.14 KB
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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Reload 100</title>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.js"></script>
<script src="../../dist/ui-scroll.js"></script>
<script src="../../dist/ui-scroll-jqlite.js"></script>
<script src="reload100.js"></script>
<link rel="stylesheet" href="../css/style.css" type="text/css"/>
</head>
<body ng-controller="mainController" ng-app="application">
<div class="cont cont-global">
<a class="back" href="../index.html">browse other examples</a>
<h1 class="page-header page-header-exapmle">Reload with parameter</h1>
<div class="description">
Here we provide an ability to reload the datasource to some specified position.
</div>
<div class="actions" ng-init="reloadIndex = 100">
<input ng-model="reloadIndex" size="2"> - index to reload <br>
<button ng-click="doReload(reloadIndex)"> Reload({{reloadIndex}}) </button>
</div>
<div ng-if="delay" class="viewport" id="viewport-serviceDatasource" ui-scroll-viewport>
<div class="item" ui-scroll="item in datasource" adapter="adapter">{{item}}</div>
</div>
</div>
</body>
</html>