MCPcopy Create free account
hub / github.com/GoogleChrome/samples / script.mjs

File script.mjs

idle-detection/script.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const canvas = document.querySelector('canvas');
2const colorInput = document.querySelector('#color');
3const clearButton = document.querySelector('#clear');
4const ephemeralInput = document.querySelector('#ephemeral');

Callers

nothing calls this directly

Calls 7

loadDarkModeFunction · 0.85
resizeCanvasFunction · 0.85
clearCanvasFunction · 0.85
drawFunction · 0.85
getImageDataFunction · 0.85
putImageDataFunction · 0.85
loadIdleDetectionFunction · 0.85

Tested by

no test coverage detected