JGestures Introduction The jGestures plug-in allows you to listen to the following events like a native jQuery event: 'pinch' (scaling gesture), 'rotate' (rotation gesture), 'swip' (slide gesture ), 'tap' (touch) and 'orientationchang' (change the device direction ). Of course, some events can be implemented through conversion on PC browsers. For example, a "tapone" event can be triggered by a "clicking" event, and a mouse gesture can also generate a "swipe" event. Example [javascript] view plaincopy $ ('# swipe '). bind ('swipone', eventHandler); event list orientationchange indicates that the device rotates clockwise or counterclockwise. this event can be triggered by a device and may use a gravity sensor. pinch scaling gesture (relative movement of two fingers on the screen) rotate rotation gesture (clockwise or counterclockwise rotation of two fingers) swipemove is triggered while sliding (moving fingers on the device screen, for example: drag) swipeone Single Point slide gesture, triggered after sliding (one finger moving on the screen) swipetwo two points slide (two fingers sliding in the same direction on the screen) swipethree three-point slide (three fingers slide in the same direction on the screen) swipefour four-point slide (four fingers slide in the same direction on the screen) swipeup slide up, after the strict upward slide gesture is completed, swiperightup is triggered to slide to the upper right corner. After the right and upward slide gestures are completed, swiperight is triggered to slide to the right, after a strict slide to the right, swiperightdown is triggered to slide to the lower right corner. After the slide to the right and down, swipedown is triggered to slide down, after the strict downward slide gesture is complete, swipeleftdown is triggered to slide to the lower left corner. After the left-down slide gesture is complete, swipeleft is triggered to slide to the left, after the strict left sliding gesture is completed, swipeleftup is triggered to move to the upper left corner, after the sliding gesture toward the left is complete, trigger the gesture of tapone clicking on a single finger. Trigger the gesture of taptwo clicking on two fingers together and trigger the gesture of tapthree clicking on three fingers together. trigger the pinchopen support gesture, triggered when two fingers are stretched out of the device. the pinchclose gesture is triggered when two fingers are pressed and the device is left. rotatecw trigger when two fingers rotate clockwise and exit the screen (two fingers rotating clockwise) rotateccw trigger when two fingers rotate counterclockwise and leave the screen (two fingers rotating counterclockwise) shake triggers shakefrontback when it detects that the device is shaking. It can be interpreted as triggered when the device is moving. shakeleftright is triggered when the shaking action is detected and can be interpreted as moving left and right. shakeupdown is triggered when the shaking action is detected and can be interpreted as moving up or down.