-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Back-button-click animation #14
Comments
I'd love to see this feature. Any thoughts on how this could be done? |
A little hacky
Popstate fires before the load event. |
@snellingio your take on this looks good, but we have to think about an interface (maybe similar to inline animations) that allows you to specify the desired back-animation in HTML or JS. |
Well, actually after playing with it more, Will investigate how to determine backwards / forwards either later tonight or this weekend. On quick review, it might be slightly tricky as turbolinks is overwriting the history |
Similar to inline animations. Specify a specific animation for when a user clicks on the back button.
The text was updated successfully, but these errors were encountered: