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

Staci Cooper commented on CB-5459:
----------------------------------

Jesse -- I've just added both for wp8:

cancelVibration: 
https://github.com/stacic/cordova-plugin-vibration/commit/faa3d626d8f941273b8edadeb48f7f30af198a53
vibrateWithPattern: 
https://github.com/stacic/cordova-plugin-vibration/commit/7dd0e6610be372b076daf6f6c80f4ec3aa5e0df4

I'm waiting to make the PR until we get confirmation from the w3c people about 
what to do on wp when a time > 5secs is passed in.

> 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)

Reply via email to