Skip to content

Instantly share code, notes, and snippets.

@gsmaverick
Created May 26, 2012 01:17
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gsmaverick/2791604 to your computer and use it in GitHub Desktop.
Save gsmaverick/2791604 to your computer and use it in GitHub Desktop.
CSS3 Transition Events With Backbone
var NewView = Backbone.View.extend({
events: {
'webkitTransitionEnd div': 'afterTransitionEvt_'
},
//...
afterTransitionEvt_: function(evt) {
// do things after the animation is finished.
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment