--- title: Window.ondeviceorientationabsolute slug: Web/API/Window/ondeviceorientationabsolute translation_of: Web/API/Window/ondeviceorientationabsolute ---
{{ ApiRef() }}{{Non-standard_header}}
An event handler for the {{ event("deviceorientationabsolute") }} event containing information about an absolute device orientation change.
window.ondeviceorientationabsolute = function(event) { ... }; window.addEventListener('deviceorientationabsolute', function(event) { ... });
This event handler is not currently part of any specification.
{{Compat("api.Window.ondeviceorientationabsolute")}}