Is there any callback function in javascript or jQuery for transitions to objects made in css3?
Is there any callback function in javascript or jQuery for transitions to objects made in css3?
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.