I have several CSS3 animations linked to one div, but I only want a function to be callad a the end of the last animation.
I have used the animationEnd event so that I can trigger said function but as I said I only want the it to run on the last animation.
Is there a way to detect with animation has ended by checking the name of the animation that has triggered the animationEnd event?
thus allowing me to use a if statement to single out the last animation.