I’ve been trying to add an event to watch scrolling on an
ion-content. Over the course of the betas, it looks like this was possible with
addScrollEventListener(handler) in beta 0,
onScrollEnd(callback) in beta 1, and
onScrollElementTransitionEnd in beta 2 through 4. None of those types of options are listed in the api docs for beta 5 on up.
Is there a recommended way to do this in beta 9? I tried making my own scroll-tracking directive that attached to the
ion-content, but the scroll actually happens in the
scroll-content child of the
ion-content, so I couldn’t get the scroll event. I could get a click event this way, so it was very close.