How to trigger event after scroll end in <ion-content>?


#1

How to trigger event after scroll end in

I have try bind onScrollEnd event in ngAfterViewInit (). But it just fire only once in ngAfterViewInit() .

ngAfterViewInit(){ this.app.getComponent("page1").onScrollEnd( () =>{ console.log(this.app.getComponent("page1").scrollElement.scrollHeight); }); }

I hope to fire onScrollEnd event after user finished the scroll every time.
So how to do that ?
Thank you.