Detecting CSS Animation and Transition End with JavaScript
Posted on Monday, June 29th, 2015
onCSSAnimationEnd is a helper function that will solve some of the inconstancies that currently exist with JavaScript’s animationend
event. it can be used with CSS animations and transitions.