Closed Ace000001 closed 6 years ago
There are already two callbacks that should help with this.
option.beforeReset
fires after an element leaves the viewport
option.afterReset
fires after an element leaves the viewport and has completed its reset
Hi!
I am trying to hook an event (something like beforeUnreveal() and afterUnreveal()) when an elements gets hidden when it is out of view port. In the API i found 4 events but but my impression of those is that those are when element is showing after coming into view port. Is there any way to do what i am trying to achieve?
Thanks!