1

I am confused by the documentation I'm reading here:

https://developer.mozilla.org/en-US/docs/WebAPI/Using_Light_Events

How do I get the light intensity of the event?

James Bennett
  • 10,903
  • 4
  • 35
  • 24

1 Answers1

2

DeviceLightEvent.value will tell you this:

https://developer.mozilla.org/en-US/docs/Web/API/DeviceLightEvent.value

James Bennett
  • 10,903
  • 4
  • 35
  • 24