MCPcopy Create free account
hub / github.com/DavidHDev/react-bits / onPointerLeave

Function onPointerLeave

src/content/Animations/GhostCursor/GhostCursor.jsx:425–429  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

423 ensureLoop();
424 };
425 const onPointerLeave = () => {
426 pointerActiveRef.current = false;
427 lastMoveTimeRef.current = performance.now();
428 ensureLoop();
429 };
430
431 parent.addEventListener('pointermove', onPointerMove, { passive: true });
432 parent.addEventListener('pointerenter', onPointerEnter, { passive: true });

Callers

nothing calls this directly

Calls 1

ensureLoopFunction · 0.70

Tested by

no test coverage detected