Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
Disorder with confirm dialog
dd8zc last edited by
I have somehting like this:
navigator.vibrate([10,20,30,40]); booleanAnswer = confirm('Do you have an answer?');
Unfortunatly navigator.vibrate will start AFTER die confirm dialog. I want it the other way around, any idea how to first vibrate and than ask the question?
emccorson administrators last edited by
It might work using
setIntervalas described here: