$('.foo').on('transitionend', function(e){console.log(e)})