Hi
Is it possible to get a notification (like callback) when a CSS transition has been completed?
-pom-
Hi
Is it possible to get a notification (like callback) when a CSS transition has been completed?
-pom-
I know that Safari implements a webkitTransitionEnd callback that you can attach directly to the element with the transition.
Their example (reformatted to multiple lines):
box.addEventListener(
'webkitTransitionEnd',
function( event ) {
alert( "Finished transition!" );
}, false );