I am Paul Kinlan.

A Developer Advocate for Chrome and the Open Web at Google.

Getting started with the Ambient Light Sensor

Paul Kinlan

डीन ह्यूम हाल ही में पीडब्ल्यूए के साथ बहुत अच्छा काम कर रहा है, और वह जेनरिक सेंसर एपीआई में इस मामले में कई नए प्लेटफॉर्म एपीआई की खोज भी कर रहा है: The Ambient Light Sensor API provides developers with the means to determine ambient light levels as detected by the device’s main light detector. This information is available to developers in terms of lux units. If you are building a Progressive Web App and you want to style it differently depending on the light levels in the room, then this could be the feature for you.

Read More