3 ms·
perhaps off topic: for many months i’ve been thinking about creating tactile buttons. are there any APIs to produce vibration in the phone via the browser? i’d
by outlore 2y ago
perhaps off topic: for many months i’ve been thinking about creating tactile buttons. are there any APIs to produce vibration in the phone via the browser? i’d like a way to create a vibration response curve when toggling a switch. i’d like to feel the friction and resistance like a real-life switch. is this within the realm of possibility with current browser APIs?
- shepherdjerred 2y agohttps://developer.mozilla.org/en-US/docs/Web/API/Vibration_API https://developer.mozilla.org/en-US/docs/Web/API/Vibration_A... Not supported on iOS
- outlore 2y agothanks will look into it, pity about iOS