How to disable vibration?

How to disable vibration?

BY 29 Mar 2017 Web Application Development

I created an app for my Gear Fit 2.

When I scroll and reach top or reach buttom, the app vibrates!

How can I disable the vibration?

 

I have tried using:   navigator.vibrate(0);  or  navigator.vibrate([]);​  but did not help.

 

Any ideas?

 

Thanks!

Written by