Skip to content

Commit c68ca9f

Browse files
committed
Updated demos
1 parent 4ba8c51 commit c68ca9f

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

test/css/input-range.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<h1 class="title">Input: Range</h1>
1919
</header>
2020

21-
<main class="content has-header padding">
21+
<ion-content class="padding">
2222

2323
<div class="range">
2424
<i class="icon ion-volume-low"></i>
@@ -90,14 +90,14 @@ <h1 class="title">Input: Range</h1>
9090
<input type="range" name="awesomeness15" min="15" max="240" value="50">
9191
<label class="range-label">240</label>
9292
</div>
93-
<div class="item range range-dark">
94-
<label class="range-label">Blah blah blah</label>
93+
<ion-input class="item range range-dark">
94+
<ion-label class="range-label">Blah blah blah</ion-label>
9595
<input type="range" name="awesomeness16" min="15" max="240" value="50">
96-
<label class="range-label">asdf asdf asdf asdf </label>
97-
</div>
96+
<ion-label class="range-label">asdf asdf asdf asdf </ion-label>
97+
</ion-input>
9898
</div>
9999

100-
</main>
100+
</ion-content>
101101

102102
</body>
103103
</html>

test/html/content.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ <h1 class="title">Title</h1>
110110
var headerHeight = header.offsetHeight;
111111

112112
$element.bind('scroll', function(e) {
113+
113114
if(e.detail && e.detail.scrollTop > starty) {
114115
// Start shrinking
115116
shrinkAmt = headerHeight - Math.max(0, (starty + headerHeight) - e.detail.scrollTop);

0 commit comments

Comments
 (0)