It would be great to have a way to trigger haptics indefinitely until explicitly stopped.
Something like:
trigger('medium', { duration: "infinite" }); // or -1 instead of a string
// and later...
cancel();
This would be useful for things like loading states, recording indicators, games, or any sustained interaction where the duration isn't known upfront.
It would be great to have a way to trigger haptics indefinitely until explicitly stopped.
Something like:
This would be useful for things like loading states, recording indicators, games, or any sustained interaction where the duration isn't known upfront.