This property indicates the rate of rotation around the X axis -- in degrees per second -- in a DeviceMotionEventRotationRate
object.
Syntax
var beta = deviceRotationRate.beta;
This property is read-only.
Return value
beta
- A
double
indicating the rate of rotation around the X axis, in degrees per second. See Accelerometer values explained for details.
Specifications
Specification | Status | Comment |
---|---|---|
DeviceOrientation Event SpecificationThe definition of 'DeviceMotionEventRotationRate: beta' in that specification. | Editor's Draft |
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Update compatibility data on GitHub
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Chrome
No support No |
Edge
No support 12 — 79 |
Firefox
? |
IE
No support No |
Opera
? |
Safari
? |
WebView Android
Full support ≤37 |
Chrome Android
Full support 28 |
Firefox 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.
DeviceMotionEventRotationRate: beta by Mozilla Contributors is licensed under CC-BY-SA 2.5.