Ambient light sensor
The AmbientLightSensor API returns the current light level in lux of the ambient light level around the device.
Status
Limited availability
MDN documentation
Specifications
- Ambient Light Sensor, from Devices and Sensors Working Group (W3C).
Browser support (view on caniuse.com)
- Chrome ❌ See bugs.chromium.org/p/chromium/issues/detail?id=606766
- Chrome Android ❌
- Edge ❌
- Firefox ❌
- Firefox for Android ❌
- Safari ❌
- Safari on iOS ❌
Web Platform Tests (WPT)
View the latest WPT test results for this featureDeveloper votes
Do you need this feature?
Let us know by leaving a 👍 reaction on the feedback issue. Don't forget to also leave a comment explaining your specific use case.
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist