W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2012

[whatwg] Device proximity and light events

From: Scott González <scott.gonzalez@gmail.com>
Date: Tue, 8 May 2012 22:23:07 -0400
Message-ID: <CAO8i3ierc4cfcvgC-X7rM-aY7j0T-W3usqFA2gki7iE2ndm7bg@mail.gmail.com>
On Tuesday, May 8, 2012, Doug Turner wrote:

> You don't.  This API doesn't have device detection.  Don't assume that
> onXXX means that the UA supports an event.

I thought this was the preferred way to check. I seem to recall a
discussion about this and agreement that this was the best way to detect
Received on Tuesday, 8 May 2012 19:23:07 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:42 UTC