inertiaDestinationY property
Represents the predicted vertical scroll offset after the inertia phase completes.
This property is read-only.
![]() |
Syntax
var el = document.getElementById('menu'); el.addEventListener('MSManipulationStateChanged', handleManipChange, false); function handleManipChange(manipEvt) { // Inertia destination coordinates are only valid during inertia state change events if(manipEvt.currentState == 'MSManipulationEvent.MS_MANIPULATION_STATE_INERTIA') { var x = manipEvt.inertiaDestinationX; var y = manipEvt.inertiaDestinationY; // Now you can determine, for example, if and how to play a panning animation } }
Property values
Type: long
Remarks
The value of the inertiaDestinationY property is only valid when its parent MSManipulationEvent has a currentState value of MS_MANIPULATION_STATE_INERTIA.
See also
Show:
