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

[sensors] Agree on event names

From: Tobie Langel via GitHub <sysbot+gh@w3.org>
Date: Fri, 19 May 2017 09:55:50 +0000
To: public-device-apis-log@w3.org
Message-ID: <issues.opened-229926839-1495187749-sysbot+gh@w3.org>
tobie has just created a new issue for https://github.com/w3c/sensors:

== Agree on event names ==
Right now, no one's happy with `onchange`.

There was a vague consensus around "onread"/"onreading" at some point, and also a will to move towards the "ondata"/'onchange" node.js inspired model (which seems a poor fit for the Web). See notably https://github.com/w3c/sensors/issues/152#issuecomment-259957946 and following thread.

Maybe "onupdate" is more appropriate.

Either way, this also depends on whether we have different reporting modes (i.e. data is updated when there's a change vs. periodically), so this is probably where we might need to start.


Please view or discuss this issue at https://github.com/w3c/sensors/issues/205 using your GitHub account
Received on Friday, 19 May 2017 09:55:58 UTC

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