JSFiddle - React, Tailwind, and code Playground

HTML

<div id="test"></div>

CSS

#test {
    width: 400px;
    height: 400px;
    background-color: #ff00ff;
}

JavaScript

document.getElementById('test').addEventListener('touchstart', checkCoords, false);
function checkCoords(e)
{
    alert(e.targetTouches);
	alert(e.touches);
	alert(e.changedTouches);
}