currentState property

This topic has not yet been rated - Rate this topic

Returns the current state of a manipulation event.

This property is read-only.

Syntax

JavaScript
state = object.currentState

Property values

Type: Integer

ValueCondition
MS_MANIPULATION_STATE_STOPPED
0

The content has stopped moving and there is no active manipulation.

MS_MANIPULATION_STATE_ACTIVE
1

A contact is touching the surface and interacting with content.

MS_MANIPULATION_STATE_INERTIA
2

The content is still moving, but contact with the surface has ended (finger, pen, mouse lifted).

 

See also

MSManipulationEvent
onmsmanipulationstatechanged
lastState

 

 

Build date: 11/29/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.