GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

DeviceOrientationEvent: absolute property

Device Orientation Events

Device Orientation Events

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](/docs/Web/API/Device_orientation_events/Orientation_and_motion_data_explained) for details.

## Value

- `true` if the orientation data in `instanceOfDeviceOrientationEvent` is provided as the difference between the Earth's coordinate frame and the device's coordinate frame
- `false` if the orientation data is being provided in reference to some arbitrary, device-determined coordinate frame.

## Specifications

## Browser compatibility

## See also

- Detecting device orientation
- Orientation and motion data explained
- deviceorientation event
- deviceorientationabsolute event

source: MDN Web Docs mirror · page

Cite this

"DeviceOrientationEvent: absolute property". MDN Web Docs. CC BY-SA 2.5 (MDN). https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent/absolute

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·