Created
February 8, 2013 17:42
-
-
Save mpjura/4740643 to your computer and use it in GitHub Desktop.
Transition End Event Name Map. Uses Modernizr.
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
var transEndEvent = { | |
'WebkitTransition': 'webkitTransitionEnd', | |
'MozTransition' : 'transitionend', | |
'OTransition' : 'oTransitionEnd otransitionend', | |
'msTransition' : 'MSTransitionEnd', | |
'transition' : 'transitionend' | |
}[ Modernizr.prefixed('transition') ]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment