Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
The beta read-only property of the DeviceMotionEventRotationRate interface indicates the rate of rotation around the X axis, in degrees per second.
A double indicating the rate of rotation around the X axis, in degrees per second. See Orientation and motion data explained for details.