This project is a demo to show how the vibration API
works in a real world example.
I also wrote an article about it on Hashnode, if you want to know more about this API.
🔬 You can test it live here
I used Angular (version 11.x.x), but the API can be used with any JS framework of choice or even vanilla javascript.
If you want to run the demo locally:
-
Clone the repo locally
-
Run
npm i
to install all the needed dependencies -
Run
ng serve
for starting a local dev server for the demo. Navigate tohttp://localhost:4200/
. The app will automatically reload if you change any of the source files.