+ 4
Please explain this Sololearners
https://code.sololearn.com/WrliGNkVyfYH/?ref=app Please explain the navigator statement in the code.
3 Respuestas
+ 8
I hadnt come across that yet and was curious too so i googled it. Now im thinking of all the dofferent things i can do with it. Check out the link below.
https://developer.mozilla.org/en-US/docs/Web/API/Navigator
+ 7
Well a button input is defined in the html and its onclick event is used to invoke a function called fun_name() which then calls the vibrate method of the navigator UI object which vibrates your device for the given period of 1second (1000ms).
0
You told the whole code but i wanted only navigator understanding but thanks!