移动端触摸事件顺序

touchstart

touchend

mousedown

mouseup

click

function eventUtil(elem,type){
	elem.addEventListener(type,function(e){
	console.log(type,e.timeStamp);
    },false);
}
eventUtil(oDiv,"touchstart");
eventUtil(oDiv,"touchend");
eventUtil(oDiv,"touchmove");
eventUtil(oDiv,"mousedown");
eventUtil(oDiv,"mouseup");
eventUtil(oDiv,"click");

你可能感兴趣的:(移动端触摸事件顺序)