Liking cljdoc? Tell your friends :D
ClojureScript only.

web.sensors.Magnetometer

The Magnetometer interface of the Sensor APIs provides information the magnetic field as detected by the device’s primary magnetometer

The Magnetometer interface of the Sensor APIs provides information
the magnetic field as detected by the device’s primary magnetometer
raw docstring

xcljs

(x this)

Property.

[Read Only]

The x read-only property of the web.sensors.Magnetometer interface a double precision integer containing the magnetic field around device's x axis.

var magnetometerx = magnetometer.x

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

Property.

[Read Only]

The x read-only property of the `web.sensors.Magnetometer` interface
a double precision integer containing the magnetic field around
device's x axis.

`var magnetometerx = magnetometer.x`

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

ycljs

(y this)

Property.

[Read Only]

The y read-only property of the web.sensors.Magnetometer interface a double precision integer containing the magnetic field around device's y axis.

var magnetometery = magnetometer.x

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

Property.

[Read Only]

The y read-only property of the `web.sensors.Magnetometer` interface
a double precision integer containing the magnetic field around
device's y axis.

`var magnetometery = magnetometer.x`

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

zcljs

(z this)

Property.

[Read Only]

The z read-only property of the web.sensors.Magnetometer interface a double-precision integer containing the magnetic field around device's z axis.

var magnetometerz = magnetometer.z

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

Property.

[Read Only]

The z read-only property of the `web.sensors.Magnetometer` interface
a double-precision integer containing the magnetic field around
device's z axis.

`var magnetometerz = magnetometer.z`

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

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

× close