DeviceMotionEventRotationRate: alpha

This property indicates the rate of rotation around the Z axis -- in degrees per second -- in a DeviceMotionEventRotationRate object.

Syntax

var alpha = deviceRotationRate.alpha;

This property is read-only.

Return value

alpha
A double indicating the rate of rotation around the Z axis, in degrees per second. See Accelerometer values explained for details.

Specifications

Specification Status Comment
DeviceOrientation Event Specification
The definition of 'DeviceMotionEventRotationRate: alpha' 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
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

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.