cursor-traces
v0.0.7
Published
``` html <script src="https://unpkg.com/[email protected]/min.js"></script> ```
Downloads
133
Readme
Use by CDN
<script src="https://unpkg.com/[email protected]/min.js"></script>
- put this in your html header part
- in your html body , use the the function
startCursorTraces()
<script>
window.onload = function(){
document.onmouseup=function(e){
if(e.target){
if(findALabel(e.target)){
writeLocation(e.pageX, e.pageY);
drawCursor(e.pageX, e.pageY);
}
}
};
drawList();
}
</script>
https://eventstructure.com/cursor-traces