This commit is contained in:
tiago.kayaya
2021-06-09 10:01:45 +01:00
parent 419330e572
commit cb658bfa1f
8 changed files with 112 additions and 18 deletions
@@ -431,7 +431,7 @@ export class DespachoPage implements OnInit {
return this.animationController.create()
.addElement(baseEl)
.easing('ease-out')
.duration(500)
.duration(7000)
.addAnimation([backdropAnimation, wrapperAnimation]);
}
@@ -474,7 +474,7 @@ export class DespachoPage implements OnInit {
return this.animationController.create()
.addElement(baseEl)
.easing('ease-out')
.duration(500)
.duration(7000)
.addAnimation([backdropAnimation, wrapperAnimation]);
}
@@ -2,7 +2,7 @@
<app-header></app-header>
</ion-header>
<ion-content>
<ion-refresher name="refresher" slot="fixed" (ionRefresh)="doRefresh($event)">
<ion-refresher name="refresher" slot="fixed" (ionRefresh)="doRefresh()">
<ion-progress-bar type="indeterminate" *ngIf="showLoader"></ion-progress-bar>
<ion-refresher-content>
</ion-refresher-content>
@@ -37,7 +37,7 @@ export class EventListPage implements OnInit {
this.router.events.forEach((event) => {
if(event instanceof NavigationEnd && event.url == this.router.url) {
this.LoadToApproveEvents();
this.doRefresh();
}
});
@@ -96,11 +96,10 @@ export class EventListPage implements OnInit {
doRefresh(event) {
doRefresh() {
this.LoadToApproveEvents();
console.log('refresh');
setTimeout(() => {
event.target.complete();
}, 2000);
}
close(){