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
(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`
(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`
(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`
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |