Available only in secure contexts.

MDN Reference

interface DeviceMotionEventAcceleration {
    x: null | number;
    y: null | number;
    z: null | number;
}

Properties

x y z

Properties

x: null | number
y: null | number
z: null | number