-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
70 lines (59 loc) · 2.03 KB
/
index.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html>
<html ng-app="app">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>ionic-range-input-in-android-weChat</title>
<link href="http://cdn.bootcss.com/ionic/1.1.0/css/ionic.min.css" rel="stylesheet">
<script src="http://cdn.bootcss.com/ionic/1.1.0/js/ionic.bundle.min.js"></script>
<script src="app.js"></script>
<script src="range/z-range.js"></script>
</head>
<body ng-controller="IndexCtrl" style="text-align: center">
<h3>ordinary range</h3>
<div class="range range-calm">
<input type="range" min={{range.min}} max={{range.max}} step="100" ng-model="range.value">
</div>
<hr />
<h3>my range</h3>
<h4>{{'min:'+range1.min+' max:'+range1.max+' value:'+range1.value+' step:'+range1.step}}</h4>
<z-range
z-value="range1.value"
z-id="1"
z-min="{{range1.min}}"
z-max="{{range1.max}}"
z-step="{{range1.step}}"
></z-range>
<h4>{{'min:'+range2.min+' max:'+range2.max+' value:'+range2.value+' step:'+range2.step}}</h4>
<div style="width: 80%;margin: 0 auto">
<z-range
z-value="range2.value"
z-id="2"
z-min="{{range2.min}}"
z-max="{{range2.max}}"
z-step="{{range2.step}}"
></z-range>
</div>
<h4>{{'min:'+range3.min+' max:'+range3.max+' value:'+range3.value+' step:'+range3.step}}</h4>
<div style="width: 50%;">
<z-range
z-value="range3.value"
z-id="3"
z-min="{{range3.min}}"
z-max="{{range3.max}}"
z-step="{{range3.step}}"
></z-range>
</div>
<h4>{{'min:'+range4.min+' max:'+range4.max+' value:'+range4.value+' step:'+range4.step}}</h4>
<div style="width: 50%;margin-left: 50%">
<z-range
z-value="range4.value"
z-id="4"
z-min="{{range4.min}}"
z-max="{{range4.max}}"
z-step="{{range4.step}}"
></z-range>
</div>
</body>
</html>