forked from suriyagp/Grid-Select
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.html
More file actions
46 lines (37 loc) · 1.69 KB
/
example.html
File metadata and controls
46 lines (37 loc) · 1.69 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
37
38
39
40
41
42
43
44
<!doctype>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Grid Select Example</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<link rel="stylesheet" href="gridselect.css"/>
</head>
<style type="text/css">
.container{
width: 70px;
}
</style>
<body ng-app="exampleApp">
<div class="container">
<div ng-controller="mainCtrl">
<grs-hider></grs-hider>
<grid-select id="myGrs"
placeholder="myGrs.placeholder" headers="myGrs.headers"
min-chars="myGrs.minChars" default-term="myGrs.defaultTerm"
format-selection="myGrs.formatSelection" get-search-url="myGrs.urlFormer"
search-http-headers="myGrs.searchHttpHeaders" debounce="500" is-more-decider="myGrs.moreDecider"
grs-data-getter="myGrs.dataGetter" on-select="focusQuantity"
on-render="myGrs.onRender" cache-enabled="myGrs.cacheEnabled">
</grid-select>
</div>
</div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular-route.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular-sanitize.min.js"></script>
<script src="gridselect.js"></script>
<script src="app.js"></script>
</body>
</html>