Ambient light sensor
Limited availability
The AmbientLightSensor
interface returns the current light level in lux of the ambient light level around the device.
Learn more
Specifications
- Ambient Light Sensor, from Devices and Sensors Working Group (W3C).
Browser support (view on caniuse.com)
- Chrome ❌
- Chrome Android ❌
- Edge ❌
- Firefox ❌
- Firefox for Android ❌
- Safari ❌
- Safari on iOS ❌
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist