mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
Derp to repull
This commit is contained in:
@ -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>
|
||||
|
@ -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);
|
||||
});
|
||||
|
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user