Last active
September 21, 2015 09:32
-
-
Save lucasdidthis/1ac41dbb2dac587b13d8 to your computer and use it in GitHub Desktop.
how to add a jQuery callback function to a CSS3 Transition
This file contains 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
$(".element-with-transition").on('webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd transitionend', function(){ | |
//add jQuery code here, it's executed after the transition ended | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment