Skip to content

lavalse/cursor-traces

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

This is an image

https://eventstructure.com/cursor-traces

About

A library to trace your cursor history

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published