You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't seem to figure out how to "reverse" an animation.
Currently, I am trying to use this to open and close a full-screen menu. Opening it works perfectly fine, but creating a second RevealFx with reversed properties breaks the whole thing. (I don't get any errors, but the menu would not open anymore).
I was wondering if there was a way to do the same animation, but in reverse.
I can't seem to figure out how to "reverse" an animation.
Currently, I am trying to use this to open and close a full-screen menu. Opening it works perfectly fine, but creating a second RevealFx with reversed properties breaks the whole thing. (I don't get any errors, but the menu would not open anymore).
I was wondering if there was a way to do the same animation, but in reverse.
main.js:
I run the menuOpenReveal.reveal() on click of a button in my header.
Thanks for the library by the way, really love how good and smooth it is! ❤️
The text was updated successfully, but these errors were encountered: