Indicates whether or not the device is providing orientation data absolutely (that is, in reference to the Earth's coordinate frame) or using some arbitrary frame determined by the device. See Orientation and motion data explained for details.
On this page
DeviceOrientationEvent: absolute property
Value
true
if the orientation data ininstanceOfDeviceOrientationEvent
is provided as the difference between the Earth's coordinate frame and the device's coordinate framefalse
if the orientation data is being provided in reference to some arbitrary, device-determined coordinate frame.
Specifications
Browser compatibility
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
absolute |
7 | 12 | 6 | 11 | 15 | 17 | 4.4 | 18 | 6 | 14 | 17 | 1.0 |
See also
© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/absolute