The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
Responding to light sensors (HTML)
Purpose
Developers can create apps that use sensors to detect and respond to changes in ambient light. For example, an application can respond when a user walks outdoors with their slate device, by increasing the contrast between text and background.
In this section
| Topic | Description |
|---|---|
|
You can use the ambient light sensor to detect changes in lighting with an app written in JavaScript. |
Show: