src/Plugins/SwapAnimation/SwapAnimation.js
function resetElementOnTransitionEnd(event) {
  event.target.style.transition = '';
  event.target.style.pointerEvents = '';
  event.target.removeEventListener('transitionend', resetElementOnTransitionEnd);
}
function resetElementOnTransitionEnd(event) {
  event.target.style.transition = '';
  event.target.style.pointerEvents = '';
  event.target.removeEventListener('transitionend', resetElementOnTransitionEnd);
}
function resetElementOnTransitionEnd ( event ) { event . target . style . transition = '' ; event . target . style . pointerEvents = '' ; event . target . removeEventListener ( 'transitionend' , resetElementOnTransitionEnd ) ; }
Resets animation style properties after animation has completed
@param {Event} event
@private
Resets animation style properties after animation has completed