File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments