Reputation: 1053
Iam try to make a ionic 3 demo and i have
<ion-refresher (ion-Refresh)="doRefresh($event)" >
<ion-refresher-content></ion-refresher-content>
and it's function looks like
doRefresh(e){
this.service.getTask()
.subscribe(
data => console.log(data),
err => console.log(err)
, () => e.complete()
);
}
but it doesn't enter doRefresh function.
Upvotes: 0
Views: 234
Reputation: 8818
I think the you need to remove the -
<ion-refresher (ion-Refresh)="doRefresh($event)" >
should be
<ion-refresher (ionRefresh)="doRefresh($event)" >
Upvotes: 1