Window.ondeviceorientationabsolute

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.

Summary

An event handler for the deviceorientationabsolute event containing information about an absolute device orientation change.

Syntax

window.ondeviceorientationabsolute = function(event) { ... };
window.addEventListener('deviceorientationabsolute', function(event) { ... });

Specifications

This event handler is not currently part of any specification.

Browser compatibility

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
ondeviceorientationabsolute
Non-standard
Chrome Full support 50Edge Full support ≤79Firefox No support NoIE ? Opera ? Safari ? WebView Android Full support 50Chrome Android Full support 50Firefox Android No support NoOpera Android ? Safari iOS ? Samsung Internet Android Full support 5.0

Legend

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

See also