DeviceMotionEventRotationRate: beta property
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Secure context: This feature is available only insecure contexts (HTTPS), in some or allsupporting browsers.
Thebeta read-only property of theDeviceMotionEventRotationRate interface indicates the rate of rotation around the X axis, in degrees per second.
In this article
Value
Adouble indicating the rate of rotation around the X axis, in degrees per second.SeeOrientation and motion data explained for details.
Specifications
| Specification |
|---|
| Device Orientation and Motion> # dom-devicemotioneventrotationrate-beta> |