Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我对我在这里阅读的文档感到困惑:
https://developer.mozilla.org/en-US/docs/WebAPI/Using_Light_Events
如何获得事件的光强度?
DeviceLightEvent.value 会告诉你:
https://developer.mozilla.org/en-US/docs/Web/API/DeviceLightEvent.value