abdoutelb
abdoutelb

Reputation: 1053

Ionic Refresher doesn't work correctly

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

Answers (1)

Conrad Lotz
Conrad Lotz

Reputation: 8818

I think the you need to remove the -

<ion-refresher (ion-Refresh)="doRefresh($event)" >

should be

<ion-refresher (ionRefresh)="doRefresh($event)" >

Ion Refresher

Upvotes: 1

Related Questions