Derp to repull

This commit is contained in:
Max Lynch
2015-06-16 16:38:46 -05:00
parent 34a65b31a9
commit d9e0dc0bcf
3 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,7 @@
<ion-view nav-title="Pull to refresh">
<ion-toolbar>
<ion-title>Pull to Refresh</ion-title>
</ion-toolbar>
<ion-content>
<ion-refresher (refresh)="doRefresh($event, amt)"></ion-refresher>

View File

@ -23,7 +23,6 @@ export class Refresher {
this.refresh = new EventEmitter('refresh');
setTimeout(() => {
this.doRefresh();
content.scrollElement.addEventListener('scroll', function(e) {
console.log('CONTENT: scroll', e.target.scrollTop);
});

View File

@ -1,8 +1,8 @@
ion-refresher {
position: absolute;
position: fixed;
display: block;
height: 100px;
width: 100%;
background-color: red;
z-index: -1;
z-index: 0;
}