Haptic Feedback API
Add haptic feedback using the WebToNative JavaScript API. Trigger vibration responses to enhance user interactions on Android and iOS apps.
const { haptics } = window.WTN
haptics.trigger({
effect: 'Haptic Effect Type Described Below'
})
import { trigger } from "webtonative/Haptics"
trigger({
effect: 'Haptic Effect Type Described Below'
})
Last updated