Directory

← Back

Vibrate

Vibrate API addon

Author

Contributors

Rating

Now that Chrome browsers on Android support Vibrate API, I had to make plugin to provide access to it from server side.

Also provides patterns, where you can chain of vibrates and caps.

Try out online demo with Android Chrome to see simple examples.

Sample code

// Vibrate for 300ms
Vibrate.vibrate(300);

...

// Two vibrates with short cap between
Vibrate.vibrate(Vibrate.createPattern().vibrate(300).delay(100).vibrate(300));

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Released
2014-02-23
Maturity
EXPERIMENTAL
License
Apache License 2.0

Compatibility

Framework
Vaadin 7.1+
Browser
Android Browser

Vibrate - Vaadin Add-on Directory

Vibrate API addon Vibrate - Vaadin Add-on Directory
Now that Chrome browsers on Android support Vibrate API, I had to make plugin to provide access to it from server side. Also provides patterns, where you can chain of vibrates and caps. Try out online demo with Android Chrome to see simple examples.
Online