事件触发顺序

一、PC端

二、移动端

手机没有鼠标,但不代表手机不能响应mouse事件,它是用触摸事件去实现类似的功能。

触发顺序为:mouseover,mousemove,touchstarttouchmove,touchcancel,touchend,mousedown,mouseup,click,href。

由于终端设备不同,屏幕触摸时间长短和力度也有差异,事件触发多少会有区别。

原文地址:https://www.cnblogs.com/camille666/p/event_tigger_order.html