Open aviramga opened 6 years ago
I am also looking for this functionality. Does anyone know how to detect the direction of the scroll?
Just figured this out if anyone still needs it. You can use 2 different visibility sensors with partialVisibility='top' and 'bottom' and have different callbacks for each.
Hi,
I have an svg animation and I would like to play it when someone scrolls into view from the top and play it in reverse if the scroll is from bottom to top.
Is this possible with this library?
Thanks