This API is a handy way to make a web page or web app aware of any change in light intensity. See also https://w3c.github.io/sensors/

Specification

Specification link


Specification being incubated in a Community Group

Status in Chromium

Blink>Sensor


In developer trial (Behind a flag) (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • Positive
  • No signal
  • Positive

Owner

Comments

This is behind the #enable-generic-sensor-extra-classes flag in chrome://flags.

Last updated on 2021-03-12