lavalse / cursor-traces

A library to trace your cursor history

Home Page:https://eventstructure.com/cursor-traces

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use by CDN

<script src="https://unpkg.com/cursor-traces@0.0.6/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

https://eventstructure.com/cursor-traces


Languages

Language:JavaScript 100.0%