web api interface
DeviceMotionEventRotationRate
Secure context
A DeviceMotionEventRotationRate interface of the Device Orientation Events provides information about the rate at which the device is rotating around all three axes.
Instance properties
alphaRead only- : The amount of rotation around the Z axis, in degrees per second.
betaRead only- : The amount of rotation around the X axis, in degrees per second.
gammaRead only- : The amount of rotation around the Y axis, in degrees per second.
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.