addeventlistener transitionend not working code example
Example: transition event listener does not work
try 'webkitTransitionEnd' instead of 'transitioned'
element.addEventListener( 'webkitTransitionEnd',(e)=> {
console.log( "Finished transition!" );
} );