lastState property
Returns the last state after a manipulation change event.
This property is read-only.
![]() |
Syntax
| JavaScript |
|---|
state = object.lastState |
Property values
Type: Integer
| Value | Condition |
|---|---|
|
The content has stopped moving and there is no active manipulation. |
|
A contact is touching the surface and interacting with content. |
|
The content is still moving, but contact with the surface has ended (finger, pen, mouse lifted). |
|
A contact has initiated a cross-slide interaction. Supported on Windows 8.1 and later. |
|
A cross-slide interaction has crossed the selection distance threshold; selection is activated. Supported on Windows 8.1 and later. |
|
A cross-slide interaction has crossed the drag distance threshold; dragging is activated. Supported on Windows 8.1 and later. |
|
A cross-slide interaction has been cancelled. This can happen for any of the following reasons:
Supported on Windows 8.1 and later. |
|
The touch pointer was released and the manipulation has completed. Supported on Windows 8.1 and later. |
See also
