MCPcopy Create free account
hub / github.com/codrops/3DGridContentPreview /

Class

src/js/cursor.js:8–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6window.addEventListener('mousemove', ev => mouse = getMousePos(ev));
7
8export class Cursor {
9 constructor(el) {
10 this.DOM = {el: el};
11 this.DOM.svg = this.DOM.el.querySelector('.cursor__svg');

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected