cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edna Morales (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-5459) Vibration - align with w3c spec
Date Tue, 22 Jul 2014 18:42:39 GMT

    [ https://issues.apache.org/jira/browse/CB-5459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14070671#comment-14070671
] 

Edna Morales commented on CB-5459:
----------------------------------

Hi Jesse,

The alignment with w3c spec mostly happens on the js side of things. So really all platforms
are getting updated to follow this spec. However, Windows and Blackberry native SDKs support
canceling a vibration so that implementation does need to be added for Cordova. As far as
the function calls though, they will all be updated since it is on the js side.

> Vibration - align with w3c spec
> -------------------------------
>
>                 Key: CB-5459
>                 URL: https://issues.apache.org/jira/browse/CB-5459
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Plugin Vibration
>    Affects Versions: 3.3.0
>            Reporter: Lisa Seacat DeLuca
>            Assignee: Edna Morales
>            Priority: Minor
>              Labels: vibration
>
> Align the vibration spec with the w3c spec. Specifically add the ability to handle a
vibration pattern:
> http://www.w3.org/TR/2013/CR-vibration-20130723/
> ex. navigator.vibrate([50, 100, 150]);
> the pattern will cause the device to vibrate for 50 ms, be still for 100 ms, and then
vibrate for 150 ms: 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message