0
Does vibration work in JavaScript on sololearn
Just wondering because I can’t get it
5 Respostas
+ 9
Nicolass22 it works here share your code if you want help figuring it out. Best of Luck🙂
+ 6
Nicolass22
I hunted it the codes section found this.
https://code.sololearn.com/Wwlu7YrHh0NS/?ref=app
+ 1
See on compatibility table here https://developer.mozilla.org/en-US/docs/Web/API/Navigator/vibrate
0
its saying this for me :( but thanks anyway.
TypeError: navigator.vibrate is not a function. (In 'navigator.vibrate(1000)', 'navigator.vibrate' is undefined)