Scroll position on-scroll

Is there a way to pass the scroll event to the expression that I define in on-scroll?

<ion-content on-scroll="scrolling($event)">

Currently nothing seems to be returned from the scroll event unless I’m doing something wrong.

It would be nice to have the same result as getScrollPosition() without having to call another function.

1 Like