Show animation when user scroll and the element is on viewport

Hi, i was wondering, can i achieve the effect when the user scrolls the element that visible in viewport will get animated.
i know that i can achieve this effect with animate.css and jquery but how to do this in ionic ?

Thx.

So, anybody got an idea how to make this happen ?

I made a similar code on javascript. You can use ElementRef to verify the offset position of the element and check the scroll position too. When the scroll position is “in-range” of the element position you can simulate as the element is on “viewport”.

Hope i’d help to you

Check my example: https://proyecto26.com/

As you can see from that website I’m using WaypointsJS with Animatable Web Component to animate Ionic components, check the details here Check in element is present onScreen