A DeviceAcceleration object provides information about the amount acceleration the device is experiencing along all three axes.
A DeviceAcceleration object provides information about the amount acceleration the device is experiencing along all three axes.
(x this)
Property.
[Read Only]
This read-only property indicates the amount of acceleration
occurred along the X axis in a web.divice.DeviceAcceleration
var xAccel = deviceAcceleration.x;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DeviceAcceleration/x
Property. [Read Only] This read-only property indicates the amount of acceleration occurred along the X axis in a `web.divice.DeviceAcceleration` `var xAccel = deviceAcceleration.x;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DeviceAcceleration/x`
(y this)
Property.
[Read Only]
This read-only property indicates the amount of acceleration
occurred along the Y axis in a web.divice.DeviceAcceleration
var yAccel = deviceAcceleration.y;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DeviceAcceleration/y
Property. [Read Only] This read-only property indicates the amount of acceleration occurred along the Y axis in a `web.divice.DeviceAcceleration` `var yAccel = deviceAcceleration.y;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DeviceAcceleration/y`
(z this)
Property.
[Read Only]
This read-only property indicates the amount of acceleration
occurred along the Z axis in a web.divice.DeviceAcceleration
var zAccel = deviceAcceleration.z;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DeviceAcceleration/z
Property. [Read Only] This read-only property indicates the amount of acceleration occurred along the Z axis in a `web.divice.DeviceAcceleration` `var zAccel = deviceAcceleration.z;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DeviceAcceleration/z`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close