Skip to content

Instantly share code, notes, and snippets.

@arunrreddy
Created September 16, 2024 05:02
Show Gist options
  • Select an option

  • Save arunrreddy/7a8041aec14ba2735e5c2c8b878a29cf to your computer and use it in GitHub Desktop.

Select an option

Save arunrreddy/7a8041aec14ba2735e5c2c8b878a29cf to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title></title>
<script type="text/javascript">
function handleVibration() {
window.navigator.vibrate([200, 10, 300]);
}
</script>
</head>
<body>
<button onclick="handleVibration()">error</button>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment