DEV Community

Innocent Coder
Innocent Coder

Posted on

Vibrate MobileDevice With Javascript

Hello So Today We LearnHow To How Use Vibrate In Javascript

this post repost from:- https://the-dev-community.blogspot.com/vibrate-mobiledevice-with-javascript

Html

image

js

image

i make a demo site so chack how mobile vibrat or not

https://vibrate-as.netlify.app

Note:- visit my youtube channel for frontend tutorials

subscribe to my youtube channel :- https://www.youtube.com/channel/UCR64vQptythbJ1SmI-ub0Rg

Resent post :-

Top comments (7)

Collapse
 
drsimplegraffiti profile image
Abayomi Ogunnusi

thanks....i just practiced it now
vibrateme.netlify.app/

Collapse
 
innocentcoder profile image
Innocent Coder

do you like it.

Collapse
 
drsimplegraffiti profile image
Abayomi Ogunnusi

Yes ....it's nice

Collapse
 
keidakira profile image
Srinandan Komanduri

This doesn’t work for iOS. Only for Android I guess. Can anyone confirm this please?

Thanks!

Collapse
 
jamesthomson profile image
James Thomson

You're correct. Like most PWA features on iOS, it's unsupported: caniuse.com/?search=vibrate

Collapse
 
keidakira profile image
Srinandan Komanduri

Yeah got it. Thanks for confirming!

Collapse
 
heebrymovic profile image
heebrymovic

It works.