Reputation: 35733
How can I use touch events such as touchmove
in Angular 2+ (not gestures)? There sould be a directive
(touchmove)="myMove()"
?
Hammer.js supports gestures but not the raw events?
Upvotes: 3
Views: 9902
Reputation: 37403
yes touchmove
is a directive that lets you handle touch events
use chrome DevTool to simulate touch event
Upvotes: 6