DeviceOrientationEvent

Read More at MDN DocsView Spec

Safe to Use

DeviceOrientationEvent is mostly safe to use.

It’s supported by 89% of global browsers.

Browsers

ChromeOct 19, 2010v7.0.0
26%100%
100% of Chrome users are running a supported version.
SafariUnsupported
Safari does not support this feature.
EdgeJul 28, 2015v12.0.0
5%100%
100% of Edge users are running a supported version.
FirefoxAug 16, 2011v6.0.0
3%100%
100% of Firefox users are running a supported version.

Version Breakdown

 
Agent
Support
Adoption
Chrome
Oct 19, 2010 v7.0.0
26%100%
100% of Chrome users are running a supported version.
Oct 19, 2010 – Latest
v7.0.0+
26%100%

Full Support

Before version 50, Chrome provided absolute values instead of relative values for this event. Developers still needing absolute values may use the deviceorientationabsolute event.

Chrome Android
Jun 27, 2012 v18.0.0
36%100%
100% of Chrome Android users are running a supported version.
Jun 27, 2012 – Latest
v18.0.0+
36%100%

Full Support

Before version 50, Chrome provided absolute values instead of relative values for this event. Developers still needing absolute values may use the deviceorientationabsolute event.

Edge
Jul 28, 2015 v12.0.0
5%100%
100% of Edge users are running a supported version.
Jul 28, 2015 – Latest
v12.0.0+
5%100%

Full Support

Firefox
Aug 16, 2011 v6.0.0
3%100%
100% of Firefox users are running a supported version.
Aug 16, 2011 – Latest
v6.0.0+
3%100%

Full Support

Firefox 3.6, 4, and 5 supported mozOrientation instead of the standard DeviceOrientationEvent interface.

Firefox for Android
Aug 16, 2011 v6.0.0
Firefox for Android supports this feature.
Aug 16, 2011 – Latest
v6.0.0+

Full Support

Firefox 3.6, 4, and 5 supported mozOrientation instead of the standard DeviceOrientationEvent interface.

Internet Explorer
Oct 17, 2013 v11.0.0
0%83%
There are no users of Internet Explorer running a supported version.
Oct 17, 2013 – Latest
v11.0.0+
0%83%

Full Support

 
Quest Browser
Unknown v5.0.0
Quest Browser supports this feature.
Unknown
v5.0.0+

Full Support

Before version 50, Chrome provided absolute values instead of relative values for this event. Developers still needing absolute values may use the deviceorientationabsolute event.

Opera
Jul 2, 2013 v15.0.0
1%100%
100% of Opera users are running a supported version.
Jul 2, 2013 – Latest
v15.0.0+
1%100%

Full Support

Opera Android
May 21, 2013 v14.0.0
Opera Android supports this feature.
May 21, 2013 – Latest
v14.0.0+

Full Support

Safari
Unsupported
Safari does not support this feature.

No Support

Safari on iOS
Nov 22, 2010 v4.2.0
17%100%
100% of Safari on iOS users are running a supported version.
Nov 22, 2010 – Latest
v4.2.0+
17%100%

Full Support

Samsung Internet
Apr 27, 2013 v1.0.0
2%100%
100% of Samsung Internet users are running a supported version.
Apr 27, 2013 – Latest
v1.0.0+
2%100%

Full Support

Before Samsung Internet 5.0, Samsung Internet provided absolute values instead of relative values for this event. Developers still needing absolute values may use the deviceorientationabsolute event.

WebView Android
Feb 22, 2011 v3.0.0
WebView Android supports this feature.
Feb 22, 2011 – Latest
v3.0.0+

Full Support

Before version 50, Chrome provided absolute values instead of relative values for this event. Developers still needing absolute values may use the deviceorientationabsolute event.

See Also

Contribute