移动web的mousedown,mouseover,mouseup事件

阅读更多

先贴一段fastclick.js代码:

  

	// Set up event handlers as required
		console.log('isAndroid: '+deviceIsAndroid);
		if (deviceIsAndroid) {
			layer.addEventListener('mouseover', this.onMouse, true);
			layer.addEventListener('mousedown', this.onMouse, true);
			layer.addEventListener('mouseup', this.onMouse, true);
		}

 移动端居然有mouseover,mousedown,mouseup事件啊?试下下确实是有的,,但是他们之间有什么区别,网上也没查到有用的资料,研究后继续完善此文章.....

你可能感兴趣的:(移动web的mousedown,mouseover,mouseup事件)