[whatwg] Device proximity and light events
dougt at mozilla.com
Fri May 4 13:03:16 PDT 2012
I looked at the Sensor API. I was hoping to have something very simple and lightweight. I most likely will implement other sensor types in the same way - simple dom events with attributes that are specific to the event. This is what we did for device motion and orientation, and it has worked out quite well.
On May 4, 2012, at 11:34 AM, Tran, Dzung D wrote:
> Hello Doug,
> Proximity and Light is currently in the Sensor API spec at:
> This spec is in process of revising. I am planning to update this in the next couple of days.
> -----Original Message-----
> From: whatwg-bounces at lists.whatwg.org [mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Doug Turner
> Sent: Friday, May 04, 2012 11:02 AM
> To: whatwg at whatwg.org
> Subject: [whatwg] Device proximity and light events
> I have added two new events to Firefox which allow web apps to detect light and proximity changes.
> I'd like feedback and to see if there was any interest in supporting these events in other UAs.
More information about the whatwg