MSGestureEvent object
Provides contextual information associated with gesture events.
![]() |
Syntax
element.addEventListener(MSGestureEvent, callbackfunction, false);
DOM Information
Inheritance Hierarchy
Members
The MSGestureEvent object has these types of members:
Events
The MSGestureEvent object has these events.
| Event | Description |
|---|---|
| MSGestureChange |
Triggered when the finger positions associated with the interaction moves on the screen. It will also be triggered during inertia processing. |
| MSGestureEnd |
This event fires when all associated contacts are removed from the surface, and any inertia related movements have stopped.. |
| MSGestureHold |
Fires when the user touches a surface and holds the position for an extended period of time. |
| MSGestureStart |
Triggered when the screen is touched on a location over this element. |
| MSGestureTap |
Triggers when user interaction of a touch, mouse click, or pen tap. |
| MSInertiaStart |
Event fires once contact is removed when a move or pan has sufficient speed to continue moving. |
Methods
The MSGestureEvent object has these methods.
| Method | Description |
|---|---|
| initGestureEvent |
Initializes a newly-created gesture event. |
Properties
The MSGestureEvent object has these properties.
| Property | Access type | Description |
|---|---|---|
|
Gets additional information about an event. | ||
|
Read-only |
Diameter of the manipulation area from the last MSGestureEvent of the interaction. | |
|
Read-only |
Returns the MSGesture object for an element. | |
|
Read-only |
Clockwise rotation of the cursor around its own major axis expressed as a value in radians from the last MSGestureEvent of the interaction. | |
|
Read-only |
Scale factor for zoom from the last MSGestureEvent of the interaction. | |
|
Gets the time, in milliseconds, when an event occurred. | ||
|
Read-only |
Translation along x-axis from the last MSGestureEvent of the interaction. | |
|
Read-only |
Translation along y-axis from the last MSGestureEvent of the interaction. | |
|
Read-only |
Angular velocity in radians. | |
|
Read-only |
Velocity of expanding manipulation area. | |
|
Read-only |
Velocity of movement along x-axis. | |
|
Read-only |
Velocity of movement along y-axis. |
Remarks
The MSGestureEvent applies to single touch events on a surface.
See also
