FeliciousX / vue-directive-long-press

Vue Directive for Long Press
MIT License
21 stars 9 forks source link

Support for touch devices #8

Closed naeramarth7 closed 5 years ago

naeramarth7 commented 5 years ago

... using PointerEvents instead of MouseEvents.

See https://developer.mozilla.org/en-US/docs/Web/API/Pointer_events.

kiyui commented 5 years ago

@FeliciousX it seems to check all the right boxes: https://caniuse.com/#feat=pointer

Thanks for all the contributions @naeramarth7 !