Windows apps
Collapse the table of content
Expand the table of content

Methods

This section describes methods associated with touch and gestures.

In this section

TopicDescription

addPointer

Adds a contact on an element to an MSGesture object.

getCurrentPoint

Retrieves a PointerPoint object that provides basic info on the pointer associated with the event.

getIntermediatePoints

Retrieves a collection of PointerPoint objects that represent the pointer history from the last pointer event up to and including the current pointer event. Each PointerPoint in the collection provides basic info on the pointer associated with the event.

initGestureEvent

Initializes a newly-created gesture event.

msGetPointerCapture

Gets whether the element that has captured a specific pointer.

initMSManipulationEvent

Used to create a manipulation event that can be called from JavaScript.

initPointerEvent

Used to create an MSPointerEvent from JavaScript.

msReleasePointerCapture

Releases a pointer captured by an element.

msSetPointerCapture

Assigns the current pointer (touch, pen, or mouse) and MSPointerEvents to a specific element.

stop

Stops and resets all ongoing gesture and inertia related events, and fires an onmsgestureend event on the target element.

 

 

 

Build date: 11/29/2012

Show:
© 2016 Microsoft