Re: [Vibration] Feedback on the Vibration API

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.

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/

Received on Wednesday, 7 November 2012 13:26:49 UTC