[whatwg] Device proximity and light events

Scott González scott.gonzalez at gmail.com
Tue May 8 19:23:07 PDT 2012

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

More information about the whatwg mailing list