Skip to main content

All Questions

Tagged with
12 votes
6 answers
27k views

Using mobile events in Angular2

I was wondering if I could get some help in regards to events for mobile devices. I was looking around for a way to bind functions to swipe events in Angular 2. I saw in this this issue on Github that ...
Eric Gonzalo's user avatar
3 votes
3 answers
4k views

Angular2: HammerJS swipe for md-tab-group

I've implemented HammerJS in my Angular2 webapp and I've also tested the example code out. This code uses an Array of objects and seems to work flawlessly. However, I've been trying to implement the ...
Wouter Vanherck's user avatar
0 votes
0 answers
347 views

How to get touch coordinates in hammerjs?

Can anybody tell me how to get touch coordinates in hammerjs? Following code is giving error: hammerEvent.on('pan', (ev) => { console.log('x, y: ', ev.clientX, ev.clientY); }
Mayank Kataria's user avatar