W3cubDocs

/DOM

Ambient Light Sensor API

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 ? ? ? ? ?
Feature Android Android Webview Firefox Mobile (Gecko) Firefox OS IE Mobile Opera Mobile Safari Mobile Chrome for Android
Basic support ? ? ? ? ? ? ? ?

© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/Ambient_Light_Sensor_API