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

How to trigger event after scroll end in ?

$
0
0

@KimWong wrote:

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.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



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