2020.03.17 - Tweet

eventクロスブラウザ

var intStart = ‘touchstart mousedown’;
var intMove = ‘touchmove mousemove’;
var intEnd = ‘touchend mouseup’;

var aniStart = ‘animationstart webkitAnimationStart msAnimationEnd oAnimationStart mozAnimationStart’;
var aniEnd = ‘animationend webkitAnimationEnd msAnimationEnd oAnimationEnd mozAnimationEnd’;

var traStart = ‘transitionstart webkitTransitionStart msTransitionStart oTransitionStart mozTransitionStart’;
var traEnd = ‘transitionend webkitTransitionEnd msTransitionEnd oTransitionEnd mozTransitionEnd’;

コメントを残す