Liking cljdoc? Tell your friends :D
ClojureScript only.

web.accelerometer.LinearAccelerationSensor

The LinearAccelerationSensor interface of the Sensor APIs provides each reading the acceleration applied to the device along all axes, but without the contribution of gravity.

The LinearAccelerationSensor interface of the Sensor APIs provides
each reading the acceleration applied to the device along all
axes, but without the contribution of gravity.
raw docstring

xcljs

(x this)

Property.

[Read Only]

The x read-only property of the web.accelerometer.LinearAccelerationSensor returns a double precision integer containing the linear acceleration the device along the device's x axis.

var xLinearAccelerationSensor = linearAccelerationSensor.x

See also: https://developer.mozilla.org/en-US/docs/Web/API/LinearAccelerationSensor/x

Property.

[Read Only]

The x read-only property of the `web.accelerometer.LinearAccelerationSensor`
returns a double precision integer containing the linear acceleration
the device along the device's x axis.

`var xLinearAccelerationSensor = linearAccelerationSensor.x`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/LinearAccelerationSensor/x`
sourceraw docstring

ycljs

(y this)

Property.

[Read Only]

The y read-only property of the web.accelerometer.LinearAccelerationSensor returns a double precision integer containing the acceleration the device along the device's y axis.

var yAcceleration = accelerometer.y

See also: https://developer.mozilla.org/en-US/docs/Web/API/LinearAccelerationSensor/y

Property.

[Read Only]

The y read-only property of the `web.accelerometer.LinearAccelerationSensor`
returns a double precision integer containing the acceleration
the device along the device's y axis.

`var yAcceleration = accelerometer.y`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/LinearAccelerationSensor/y`
sourceraw docstring

zcljs

(z this)

Property.

[Read Only]

The z read-only property of the web.accelerometer.LinearAccelerationSensor returns a double precision integer containing the acceleration the device along the device's z axis.

var zAcceleration = accelerometer.z

See also: https://developer.mozilla.org/en-US/docs/Web/API/LinearAccelerationSensor/z

Property.

[Read Only]

The z read-only property of the `web.accelerometer.LinearAccelerationSensor`
returns a double precision integer containing the acceleration
the device along the device's z axis.

`var zAcceleration = accelerometer.z`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/LinearAccelerationSensor/z`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close