Callback for Transitions in CSS3

0

Is there any callback function in javascript or jQuery for transitions to objects made in css3?

    
asked by anonymous 31.07.2014 / 19:14

1 answer

2

Via Javascript you can use the webkitTransitionEnd event to determine when a transition ends. For example:

meuElemento.addEventListener( 
     'webkitTransitionEnd', 
     function( event ) { alert( "A transição terminou." ); }, false );

As far as I know, there is no equivalent in CSS3 for this behavior.

    
31.07.2014 / 19:17