translationX property

Translation along x-axis from the last MSGestureEvent of the interaction.

This property is read-only.

Internet Explorer 10

 

Syntax

JavaScript
fTranslation = object.translationX

 

Property values

Type: Floating-point

Translation value

Remarks

When gesture is moving right, values are returned as positive numbers. When moving left, values are returned as negative numbers.

Note  This item described in this topic requires Windows 8.

See also

MSGestureEvent

 

 

Show:
© 2014 Microsoft