how to trigger an event while scrolling in wix

I am making a single page website using anchor page. I want an image element to be faded out while scrolling down and again I want the image on the screen while I scroll up with fade In animation.
Please help me regarding this problem.

Thank you.
#easy #to #follow #topics .

Just use onViewport and EffectOptions.$w.ViewportMixin.html$w.EffectOptions.html

1 Like