Definition
Magnetometer defines Magnetometer
[SecureContext,
Exposed=Window]
interface Magnetometer : Sensor {
constructor(optional MagnetometerSensorOptions sensorOptions = {});
readonly attribute double? x;
readonly attribute double? y;
readonly attribute double? z;
};