The transitionend event occurs when a CSS transition has completed. If the transition is removed before completion, the transitionend event will not fire.

3563

The transitionend event occurs when a CSS transition has completed. Note: If the transition is removed before completion, e.g. if the CSS transition-property property is removed, the transitionend event will not fire. For more information about CSS Transitions, see our tutorial on CSS3 Transitions.

addEventListener("transitionend",updatePosition,false);t. javascript. JAVASCRIPT.