This property indicates the rate of rotation around the X axis -- in degrees per second -- in a
DeviceMotionEventRotationRate
对象。
var beta = deviceRotationRate.beta;
此特性只读。
beta
double
indicating the rate of rotation around the X axis, in degrees per second. See
Accelerometer values explained
了解细节。
| 规范 | 状态 | 注释 |
|---|---|---|
|
DeviceOrientation Event Specification
The definition of 'DeviceMotionEventRotationRate: beta' in that specification. |
编者草案 |
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
beta
|
Chrome 不支持 No | Edge 不支持 12 — 79 | Firefox ? | IE ? | Opera ? | Safari ? | WebView Android ≤37 | Chrome Android 28 | Firefox Android ? | Opera Android ? | Safari iOS ? | Samsung Internet Android 1.5 |
完整支持
不支持
兼容性未知
实验。期望将来行为有所改变。
DeviceMotionEventRotationRate