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);
}
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);
}