Is there a way in javascript to detect if there is currently a css3 transition running?
Ideally a 'transitionstart' event would be useful, then I could catch all transitionstart events and wait for the corresponding transitionend events.
My scenario is the following. I would like to add an 'active' class to a dom element that will potentially trigger transitions on that element and also any number of child elements. I would like a callback once all animations are completed, and ideally I would like to keep all the animation timings in css and not javascript.