W3C home > Mailing lists > Public > public-device-apis@w3.org > November 2012

Re: [Vibration] Feedback on the Vibration API

From: Anssi Kostiainen <anssi.kostiainen@nokia.com>
Date: Thu, 8 Nov 2012 15:35:42 +0200
Cc: ext David Bruant <bruant.d@gmail.com>, "DAP public-device-apis@w3.org" <public-device-apis@w3.org>, Marcos Caceres <w3c@marcosc.com>
Message-Id: <20C31022-7304-4AD7-8058-1148676D2375@nokia.com>
To: ext Henri Sivonen <hsivonen@iki.fi>
On 7.11.2012, at 15.26, ext Henri Sivonen wrote:

> On Tue, Nov 6, 2012 at 11:35 AM, Anssi Kostiainen
> <anssi.kostiainen@nokia.com> wrote:
>> In early drafts we had 'vibrationstart' and 'vibrationend' events but we dropped them from v1 as we did not have compelling use cases for them. As always, we're happy to reconsider adding something similar in v2 if we unearth new use cases. I've added a note about this to our FutureWork wiki, so we don't forget:
> 
> Passing callbacks to the vibration request would make it easier to
> correlate vibration start and end with the request. For precedent,
> consider how requestAnimationFrame migrated from an event to a
> callback.

Thanks for pointing this out, we'll make a note of this for the potential future work.

-Anssi
Received on Thursday, 8 November 2012 13:36:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 8 November 2012 13:36:31 GMT