Device orientation events
Newly available since 2023-09-18
The DeviceMotion
and DeviceOrientation
events report the movement and orientation of the browser's device in physical space. Note that coordinates can differ noticeably between platforms and devices.
Learn more
Specifications
Browser support (view on caniuse.com)
- Chrome 31 Released on 2013-11-12
- Chrome Android 31 Released on 2013-11-14
- Edge 12 Released on 2015-07-29
- Firefox 6 Released on 2011-08-16
- Firefox for Android 6 Released on 2011-08-16
- Safari 17 Released on 2023-09-18
- Safari on iOS 4.2 Released on 2010-11-22
Usage (according to Chrome Platform Status)
~7.224% of page loads. More data at chromestatus.
Web Platform Tests (WPT)
View the latest WPT test results for this featureView as JSON | Edit this feature | Report an issue | Web-features entry: source, dist