Back to Content

DeviceMotionEventRotationRate: beta property

files/en-us/web/api/devicemotioneventrotationrate/beta/index.md

latest548 B
Original Source

{{APIRef("Device Orientation Events")}}{{securecontext_header}}

The beta read-only property of the {{domxref("DeviceMotionEventRotationRate")}} interface indicates the rate of rotation around the X axis, in degrees per second.

Value

A double indicating the rate of rotation around the X axis, in degrees per second. See Orientation and motion data explained for details.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}