问题
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);
}
来源:https://stackoverflow.com/questions/64771838/how-to-get-touch-coordinates-in-hammerjs