IQuery Mobile Gesture Event plug-in-jgestures

Source: Internet
Author: User

Jgestures Download

Jgestures Event Introduction Orientationchange

Represents a device that rotates clockwise or counterclockwise. This event can be triggered by the device and may be using a gravity sensor.

Pinch

Zoom gesture (two finger relative motion on the screen)

Rotate

Rotating gestures (two fingers clockwise or counterclockwise)

Swipemove

Trigger on slide (move finger on device screen, e.g. drag)

Swipeone

Single-point swipe gesture that triggers when the slide is complete (one finger moves on the screen)

Swipetwo

Two-point swipe (two fingers sliding in a consistent direction on the screen)

Swipethree

Three-point swipe (three fingers sliding in a consistent direction on the screen)

Swipefour

Four-point swipe (four fingers sliding in a consistent direction on the screen)

Swipeup

Swipe up to trigger after a rigorous upward swipe gesture is complete

Swiperightup

Swipe to the top right to trigger when the swipe gesture is completed right and up

Swiperight

Swipe right to trigger after strict right swipe gesture is complete

Swiperightdown

Swipe down to the right and trigger when the swipe gesture is completed right and down

Swipedown

Swipe down to trigger when the strict swipe down gesture is complete

Swipeleftdown

Swipe down to the left and trigger after the left and down swipe gesture is complete

Swipeleft

Swipe left to trigger after strict left swipe gesture is complete

Swipeleftup

Swipe to the top left and trigger after the left and up swipe gesture is complete

Tapone

Triggers after a single finger taps the gesture

Taptwo

Trigger after two fingers with a tap gesture

Tapthree

Trigger after three fingers with a tap gesture

Pinchopen

An open gesture that fires when two fingers are large and leave the device.

Pinchclose

Pinch gestures, triggered when two fingers are pinched and left the device.

Rotatecw

Two fingers are rotated clockwise and off the screen (two fingers rotating clockwise)

Rotateccw

Two fingers turn counterclockwise and trigger when leaving the screen (two fingers rotating counterclockwise)

Shake

Triggered when the device is being shaken

Shakefrontback

When a shaking action is detected and can be interpreted as a trigger when moving forward or backward.

Shakeleftright

When a shaking action is detected and can be interpreted as a trigger when moving left and right.

Shakeupdown

When a shaking action is detected and can be interpreted as triggering when moving up and down.

Using the example
$(window).bind(‘shakeupdown‘,function(event_,data_){ alert(‘shake: ‘+ data_.description)})

Note: When the page has a scroll bar, the swipe up,down,left,right may not be triggered! Events are overwritten by scrolling events!

IQuery Mobile Gesture Event plug-in-jgestures

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.