MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / onclick

Function onclick

src/lib/console.js:27–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25 transform: `translate(2px, ${innerHeight / 2}px)`,
26 },
27 onclick() {
28 consoleVisible = !consoleVisible;
29 if (consoleVisible) {
30 showConsole();
31 } else {
32 hideConsole();
33 }
34 },
35 ontouchstart() {
36 document.addEventListener("touchmove", touchmove, {
37 passive: false,

Callers

nothing calls this directly

Calls 4

showConsoleFunction · 0.85
hideConsoleFunction · 0.85
getValFunction · 0.85
focusMethod · 0.80

Tested by

no test coverage detected