Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70762

Refresher.complete is not a function

$
0
0

@sehsah2020 wrote:

when pull to scroll
data get successfully but refresher not complete

<ion-refresher slot=“fixed” (ionRefresh)=“doRefresh($event)”>

file.ts

GetAllData(){
this.SnaptService.getData(“members”,"").subscribe((res)=>{
this.members = res;
});

this.SnaptService.getData("vipmembers","").subscribe((res)=>{
  this.vipmembers = res;
});    
 
this.SnaptService.getData("mostviewmembers","").subscribe((res)=>{
  this.mostview = res;
}); 

}

doRefresh(refresher){
console.log(" doRefresh ");
this.GetAllData();
refresher.complete();
}

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70762

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>