You are on the editable version of MDN Web Docs

View as an MDN Web Docs user: https://developer.mozilla.org/en-US/docs/Web/API/DeviceMotionEventRotationRate

DeviceMotionEventRotationRate

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

A DeviceMotionEventRotationRate object provides information about the rate at which the device is rotating around all three axes.

Properties

DeviceMotionEventRotationRate.alpha Read only
The amount of rotation around the Z axis, in degrees per second.
DeviceMotionEventRotationRate.beta Read only
The amount of rotation around the X axis, in degrees per second.
DeviceMotionEventRotationRate.gamma Read only
The amount of rotation around the Y axis, in degrees per second.

Specifications

Specification Status Comment
DeviceOrientation Event Specification
The definition of 'DeviceMotionEventRotationRate' in that specification.
Editor's Draft

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
DeviceMotionEventRotationRate
Experimental
Chrome No support NoEdge No support 12 — 79Firefox ? IE No support NoOpera ? Safari ? WebView Android Full support 74
Full support 74
No support ≤37 — 73
Alternate Name
Alternate Name Uses the non-standard name: DeviceAcceleration
Chrome Android Full support 74
Full support 74
No support 28 — 73
Alternate Name
Alternate Name Uses the non-standard name: DeviceRotation
Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android Full support 11.0
Full support 11.0
No support 1.5 — 11.0
Alternate Name
Alternate Name Uses the non-standard name: DeviceRotation
alpha
Experimental
Chrome No support NoEdge No support 12 — 79Firefox ? IE No support NoOpera ? Safari ? WebView Android Full support ≤37Chrome Android Full support 28Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android Full support 1.5
beta
Experimental
Chrome No support NoEdge No support 12 — 79Firefox ? IE No support NoOpera ? Safari ? WebView Android Full support ≤37Chrome Android Full support 28Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android Full support 1.5
gamma
Experimental
Chrome No support NoEdge No support 12 — 79Firefox ? IE No support NoOpera ? Safari ? WebView Android Full support ≤37Chrome Android Full support 28Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android Full support 1.5
Secure context required
Experimental
Chrome No support NoEdge No support NoFirefox ? IE No support NoOpera ? Safari ? WebView Android Full support ≤37Chrome Android Full support 28Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android Full support 1.5

Legend

Full support  
Full support
No support  
No support
Compatibility unknown  
Compatibility unknown
Experimental. Expect behavior to change in the future.
Experimental. Expect behavior to change in the future.
Uses a non-standard name.
Uses a non-standard name.

Document Tags and Contributors

Contributors to this page: sideshowbarker
Last updated by: sideshowbarker,