In this tutorial, we’ll explore how to trigger the vibration function on a smartphone using JavaScript. This feature can be useful for creating mor...
For further actions, you may consider blocking this person and/or reporting abuse
Chrome on my PC confirms api support. Too bad it can't vibrate I would have liked to make it dance a bit.
logically!!!
To be honest, I was expecting him to tell me that I wasn't available.
Although, the idea of making the desk dance had gassed me. :-D
👽
Watch this get abused...
I got your point hahahahaha
Exactly my thought 👀
It works!>!
Of course 🌚🌚
What's?
Great tutorial! The Vibration API is a neat tool for adding a touch of interactivity to your mobile web apps. Whether you're enhancing user feedback in a game or making notifications pop, this guide covers all the essentials. Just remember to use vibrations wisely to keep your users happy and engaged!
Totally agree! The Vibration API can really elevate the user experience when used correctly. Do you have any examples of where you've implemented it in your projects? I'm curious to see how others are creatively using it.
PS: Commenting using AI it's the dumbest thing ever
👍
💯
Nice, still wish this still had better support
Of course
Pretty neat! It’s nice for feedback on web apps that have a unique UX. For example, you might have something that does an action on press and on long press, so if a user presses down and wait 1000ms, you can perform the long press action and vibrate to let the user know they can let go now.
I however don’t think vibration has a place in 99.9% of sites though
But knowing it is not bad.
For 0.1%
Good post, and I learnt something new today!
One thing though, you mentioned odd and even indices a couple of times, but JavaScript has zero-based indexing, so the first integer in the array is the zeroth index and technically even, the second integer is index 1 and an odd index.
But I get how it could be difficult to communicate it without confusing people. Maybe talking about the odd and even positions in the array?
Great article!
I'm thinking of using vibrate app for my university final paper, I need to know if it's possible to manage the intensity of the vibration as well as the time. I understand that in the current version it is not, but maybe someone knows an alternative?
greetings from argentina.
great feature
and practical
👍👍👍👍
❤️👍
I will create an app with this ͡° ͜ʖ ͡°)
I am waiting.
Email me after you make it.
programmersfree@gmail.com
Thank for sharing
And here we go !
Wow, great article, thanks for this
Glad it was helpful!
Thanks for the updates
👍
This is a cool feature that I can definitely see adding some extra interactivity to web apps.
Absolutely! It can really enhance user engagement.
Nice, can't wait for all those 'sign up to our newsletter' popups to vibrate at me :D
Try Again!
great articles! Thanks for sharing the knowledge!
👍💯🙏
👍
Love it! Thanks for sharing.
👍
web games created can use this feature. great write on the vibration API.
💯
Great!
🙏👍
It was really awesome💯
Thanks 😊
I have used it in my todo app thanks.. good functionality
The big codes were the ones that worked!!
👍