Magnetometer
Limited availability
The Magnetometer
API reads magnetic field sensor data from the device's magnetometer.
Learning resources on MDN
Browser support
- Chrome ❌
- Chrome Android ❌
- Edge ❌
- Firefox ❌
- Firefox for Android ❌
- Safari ❌
- Safari on iOS ❌
Specifications
- Magnetometer, from Devices and Sensors Working Group (W3C).
View web-platform-tests results for this feature - View the feature source file - Edit the feature - Report an issue about this feature