Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Transition End Event Name Map. Uses Modernizr.
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
You can’t perform that action at this time.