Re: [sensors] Provide the DeviceOrientation sensor

> That is why I was thinking about exposing, x, y, z etc as 
properties, plus implement [Symbol.iterator] or something similar to 
easily get the data in array form. (that is in addition to have the 
populate methods)

Could you add an example of client code for this?

-- 
GitHub Notification of comment by pozdnyakov
Please view or discuss this issue at 
https://github.com/w3c/sensors/issues/170#issuecomment-283253069 using
 your GitHub account

Received on Wednesday, 1 March 2017 06:03:25 UTC