Chartbreaker
    Preparing search index...

    Interface DeviceMotionEventRotationRate

    A DeviceMotionEventRotationRate interface of the Device Orientation Events provides information about the rate at which the device is rotating around all three axes. Available only in secure contexts.

    MDN Reference

    interface DeviceMotionEventRotationRate {
        alpha: null | number;
        beta: null | number;
        gamma: null | number;
    }
    Index

    Properties

    Properties

    alpha: null | number

    The alpha read-only property of the DeviceMotionEventRotationRate interface indicates the rate of rotation around the Z axis, in degrees per second.

    MDN Reference

    beta: null | number

    The beta read-only property of the DeviceMotionEventRotationRate interface indicates the rate of rotation around the X axis, in degrees per second.

    MDN Reference

    gamma: null | number

    The gamma read-only property of the DeviceMotionEventRotationRate interface indicates the rate of rotation around the Y axis, in degrees per second.

    MDN Reference