Debian Codegraph @

fixtures/mouse-move.html

raw
1 <html>
2 <body>
3 <div style="height: 500px"></div>
4 </body>
5
6 <script>
7 window.moveTrack = ''
8
9 document.onmousemove = (e) => {
10 if (e.clientX === 0 && e.clientY === 0) return
11 window.moveTrack += ' move ' + e.clientX + ' ' + e.clientY
12 }
13 </script>
14 </html>