Firefox Tomorrow

web api event

Window: deviceorientationabsolute event

View on MDN ↗

Secure context

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 methods like addEventListener(), or set an event handler property.

addEventListener("deviceorientationabsolute", (event) => { })

ondeviceorientationabsolute = (event) => { }

Event type

A DeviceOrientationEvent. Inherits from Event.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also