1. Click event
Click event, similar to PC-side click, but in the mobile side, the trigger of continuous click has a delay of 200ms ~ 300ms
2. Touch Class Events
Touch events, there are Touchstart touchmove touchend touchcancel four kinds of points
Touchstart: Finger touch to screen will trigger
Touchmove: When the finger moves on the screen, it triggers
Touchend: Triggers when the finger leaves the screen
Touchcancel: Triggers that can be triggered by the system, such as when a finger touches the screen, when a sudden alert is made, or if the other interrupts the touch behavior in the system, the event can be triggered
3. Tap Class Events
Touch event, I still do not know the difference between it and touch, generally used in place of the Click event, there are tap Longtap Singletap Doubletap four kinds of points
Tap: Touching the screen with your finger will trigger
Longtap: Finger long press the screen will trigger
Singletap: Finger touch screen will trigger
Doubletap: Finger double-tap screen will trigger
4. Swipe class events
Sliding events, with swipe swipeleft swiperight swipeup Swipedown Five kinds of points
Swipe: Triggers when the finger slides on the screen
Swipeleft: Triggers when your finger slides to the left on the screen
Swiperight: Triggers when the finger slides to the right on the screen
Swipeup: Triggers when fingers swipe up on the screen
Swipedown: Triggers when the finger slides down on the screen
Mobile-side events