- From: Kenneth Rohde Christiansen via GitHub <sysbot+gh@w3.org>
- Date: Fri, 23 Apr 2021 08:59:37 +0000
- To: public-device-apis-log@w3.org
Never `device_posture` then it should be `devicePosture`. Putting it on just `window` and it should just be the class itself I think, like we have `window.Accelerator`. Looking at DeviceMotion etc, they only have global event handlers which I find a bit weird\ ```js ondevicemotion = () => {} addEventListener("devicemotion", () => {}); ``` But I see that these are actually quite common. But I guess we want an object like Generic Sensors, so then it makes sense to either attach it somewhere that requires you to write the name (you don't need to write `window`), or we make a constructable object. `.hid`, `.locks`, `.bluetooth`, etc are on `navigator`. -- GitHub Notification of comment by kenchris Please view or discuss this issue at https://github.com/w3c/device-posture/issues/67#issuecomment-825512663 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 23 April 2021 08:59:40 UTC