Show animation when user scroll and the element is on viewport

#1

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.

#2

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

#3

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