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.
(set-x! this val)
Property.
This read-only property indicates the amount of acceleration
occurred along the X axis in a web.DeviceAcceleration
object.
var xAccel = deviceAcceleration.x;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DeviceAcceleration/x
Property. This read-only property indicates the amount of acceleration occurred along the X axis in a `web.DeviceAcceleration` object. `var xAccel = deviceAcceleration.x;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DeviceAcceleration/x`
(set-y! this val)
Property.
This read-only property indicates the amount of acceleration
occurred along the Y axis in a web.DeviceAcceleration
object.
var yAccel = deviceAcceleration.y;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DeviceAcceleration/y
Property. This read-only property indicates the amount of acceleration occurred along the Y axis in a `web.DeviceAcceleration` object. `var yAccel = deviceAcceleration.y;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DeviceAcceleration/y`
(set-z! this val)
Property.
This read-only property indicates the amount of acceleration
occurred along the Z axis in a web.DeviceAcceleration
object.
var zAccel = deviceAcceleration.z;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DeviceAcceleration/z
Property. This read-only property indicates the amount of acceleration occurred along the Z axis in a `web.DeviceAcceleration` object. `var zAccel = deviceAcceleration.z;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DeviceAcceleration/z`
(x this)
Property.
This read-only property indicates the amount of acceleration
occurred along the X axis in a web.DeviceAcceleration
object.
var xAccel = deviceAcceleration.x;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DeviceAcceleration/x
Property. This read-only property indicates the amount of acceleration occurred along the X axis in a `web.DeviceAcceleration` object. `var xAccel = deviceAcceleration.x;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DeviceAcceleration/x`
(y this)
Property.
This read-only property indicates the amount of acceleration
occurred along the Y axis in a web.DeviceAcceleration
object.
var yAccel = deviceAcceleration.y;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DeviceAcceleration/y
Property. This read-only property indicates the amount of acceleration occurred along the Y axis in a `web.DeviceAcceleration` object. `var yAccel = deviceAcceleration.y;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DeviceAcceleration/y`
(z this)
Property.
This read-only property indicates the amount of acceleration
occurred along the Z axis in a web.DeviceAcceleration
object.
var zAccel = deviceAcceleration.z;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DeviceAcceleration/z
Property. This read-only property indicates the amount of acceleration occurred along the Z axis in a `web.DeviceAcceleration` object. `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