Window: deviceorientationabsolute event
Device Orientation Events
Device Orientation Events
The deviceorientationabsolute event is fired when absolute device orientation changes.
This event is not cancelable and does not bubble.
Syntax
Use the event name in addEventListener():
addEventListener("deviceorientationabsolute", (event) => { })
Alternatively, assign to the event handler property of the interface:
ondeviceorientationabsolute = (event) => { }
Event type
A DeviceOrientationEvent. Inherits from Event.
DeviceOrientationEvent
Specifications
Browser compatibility
See also
- devicemotion event
- deviceorientation event
- Detecting device orientation