Back to Content

DeviceMotionEventRotationRate: alpha property

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

latest549 B
Original Source

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

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

Value

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

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}