Created
March 23, 2014 14:06
-
-
Save jerone/9723502 to your computer and use it in GitHub Desktop.
Transitions for jQuery pjax
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).on('pjax:start', function() { | |
$(this).find('[data-pjax-container]').fadeOut(); | |
}).on('pjax:end', function() { | |
$(this).find('[data-pjax-container]').fadeIn(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/defunkt/jquery-pjax
Works in GitHub.