Element: MSManipulationStateChanged event

Non-standard
This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

MSManipulationStateChanged fires when the state of an element being manipulated has changed (ie. whenever you start or finish panning or zooming an element).

It is a proprietary event specific to Microsoft Edge and Internet Explorer.

Bubbles Unknown
Cancelable Unknown
Interface MSManipulationEvent
Event handler property Unknown

Get manipulation states using the lastState and currentState properties.

Examples

// Listen for panning state change events 
outerScroller.addEventListener("MSManipulationStateChanged", function(e) {
    // Check to see if they lifted while pulled to the top 
    if (e.currentState == MS_MANIPULATION_STATE_INERTIA && 
        outerScroller.scrollTop === 0) { 
        refreshItemsAsync(); 
    } 
});

Specifications

Not part of any specification.

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
MSManipulationStateChanged event
Non-standard
Chrome No support NoEdge Full support YesFirefox No support NoIE Full support YesOpera No support NoSafari No support NoWebView Android No support NoChrome Android No support NoEdge Mobile Full support YesFirefox Android No support NoOpera Android No support NoSafari iOS No support NoSamsung Internet Android No support No

Legend

Full support  
Full support
No support  
No support
Non-standard. Expect poor cross-browser support.
Non-standard. Expect poor cross-browser support.

See also

Document Tags and Contributors

Contributors to this page: wbamberg, mdnwebdocs-bot, ExE-Boss, mattwojo, erikadoyle
Last updated by: wbamberg,