devicelight Redirect 2

The devicelight event is fired when fresh data is available from a light sensor

General info

Specification
Sensor
Interface
SensorCallback
Bubbles
No
Cancelable
No
Target
DefaultView (window)
Default Action
None

Properties

value Read only Double (float) The sensor data for ambient light in Lux. min Read only Double (float) The minimum value in the range the sensor detects (if available, 0 otherwise). max Read only Double (float) The maximum value in the range the sensor detects (if available, 0 otherwise).

Document Tags and Contributors

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