- From: Anssi Kostiainen <anssi.kostiainen@nokia.com>
- Date: Thu, 27 Oct 2011 18:38:08 +0300
- To: "public-device-apis@w3.org WG" <public-device-apis@w3.org>, public-device-status@w3.org
Hi All, On 27.10.2011, at 8.32, ext Jonas Sicking wrote: > On Wed, Oct 26, 2011 at 8:14 AM, Anssi Kostiainen > <anssi.kostiainen@nokia.com> wrote: >> >> During today's call the WG agreed we should publish the first Vibration API Editor's Draft before the meeting next week, and start with Mozilla's WebVibrator proposal. Let me know if there are issues with that; I'll commence with my action [1] to spec it out asap so that people will have time to review it before the meeting. >> >> I think everyone understands the WebVibrator prototype is still unstable and details are likely to change, nevertheless it is helpful to have an early draft available in order to solicit feedback during the meeting. > > That sounds great! Yay! Here's the first draft of the Vibration API spec as promised: http://dev.w3.org/2009/dap/vibration/ It's basically Mozilla's implementation, with the following changes and some clarifications: * vibrate() is exposed on navigator.vibration instead of navigator * two event handlers added: onvibrationstart and onvibrationend * the exceptions raised by vibrate() are 'SyntaxError' and 'NotSupportedError' Please look at the draft so that we can have a productive discussion at the TPAC next week. -Anssi Trackbot: this should close my DAP-ACTION-458.
Received on Thursday, 27 October 2011 15:38:39 UTC