DeviceOrientationEvent: absolute property
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
The absolute
read-only property of the DeviceOrientationEvent
interface 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.
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
Specification |
---|
Device Orientation and Motion # ref-for-dom-deviceorientationevent-absolute |
Browser compatibility
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
absolute |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.