DeviceVibrate Op
vibrating a mobile device
Summary (oneliner)
- Ops.Devices.Mobile.DeviceVibrate
- Core Op - Official cables op
- MIT
- caniuse.com: Navigator API: vibrate
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch Device Vibrate example
this example will vibrate your device if the command is supported in your device's browser. check support on this page: https://caniuse.com/?search=Navigator%20API%3A%20vibrate
for the command to work, you must also focus the window - by having the user interact with the canvas - for example: touch pressing the page.
Do Not Disturb mode can also affect the functionality of this operator on your device, preventing the vibration command when DNB is on.