Whether the current browser can produce haptic feedback.
Determined by the presence of the Web Vibration API, so this is true on Chromium-based
Android browsers and false on iOS, desktop, and any other browser without it.
Use this to conditionally show haptic-related UI (e.g. a settings toggle).
Whether the current browser can produce haptic feedback.
Determined by the presence of the Web Vibration API, so this is
trueon Chromium-based Android browsers andfalseon iOS, desktop, and any other browser without it.Use this to conditionally show haptic-related UI (e.g. a settings toggle).