W3C home > Mailing lists > Public > public-device-apis-log@w3.org > March 2017

Re: [sensors] Provide the DeviceOrientation sensor

From: Tobie Langel via GitHub <sysbot+gh@w3.org>
Date: Wed, 01 Mar 2017 00:03:45 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-283201470-1488326623-sysbot+gh@w3.org>
> 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)

We need to consider the perf impact of these.

GitHub Notification of comment by tobie
Please view or discuss this issue at 
https://github.com/w3c/sensors/issues/170#issuecomment-283201470 using
 your GitHub account
Received on Wednesday, 1 March 2017 00:03:51 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 12:18:52 UTC