Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Ambient Light Sensor API

This article needs a technical review. How you can help.

This article needs an editorial review. How you can help.

TBD

Ambient light sensor concepts and usage

TBD

Interfaces

AmbientLightSensor
Returns an interface for accessing AmbientLightSensorReadings.
AmbientLightSensorReading
Returns an interface for reading the current light level.
Specification Status Comment
Ambient Light Sensor Editor's Draft Initial definition.

Browser Compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 54.0 ? ? ? ?
Feature Android Android Webview Firefox Mobile (Gecko) Firefox OS IE Mobile Opera Mobile Safari Mobile Chrome for Android
Basic support No support 54.0 ? ? ? ? ? 54.0

Document Tags and Contributors

 Contributors to this page: jpmedley
 Last updated by: jpmedley,