blob: 9452528ada1e02a45fdcf40251212933c86a0a47 [file] [log] [blame]
<!DOCTYPE html>
<style>
body {
margin: 0;
}
div {
width: 100vw;
height: 100vh;
}
</style>
<div id="target">Touch this element.</div>
<script>
document.getElementById("target").addEventListener("touchend", () => parent.postMessage("touchend", "*"));
</script>