I'm looking for an event, callback or other way to tell when a CSS3 transition completes.
Is this possible?
Use the transitionend
event. Note that vendor-specific prefixes have to be added.
Listen for the transitionend event:
https://developer.mozilla.org/en/CSS/CSS_transitions#Detecting_the_completion_of_a_transition
Since it uses browser prefixes, you'll have to listen to several different versions of that event for different browsers.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With