- From: Tobie Langel via GitHub <sysbot+gh@w3.org>
- Date: Sun, 20 Mar 2016 10:49:22 +0000
- To: public-device-apis@w3.org
tobie has just created a new issue for https://github.com/w3c/sensors: == Adding a sensor.activated attribute == As we're holding on to the promise that's returned when calling `start()`. It would be nice to expose it in a dedicated attribute (maybe `active` or `activated`) so one could do: ```js let s = new FooSensor(); s.activated.then( /* do stuff... */); // later on: s.start(); ``` Please view or discuss this issue at https://github.com/w3c/sensors/issues/95 using your GitHub account
Received on Sunday, 20 March 2016 10:49:24 UTC