MCPcopy Create free account
hub / github.com/RioArisk/claudecode_api_RemoteControl / $

Function $

app/src/modules/utils.js:4–4  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2// Utilities
3// ============================================================
4export const $ = id => document.getElementById(id);
5
6export function esc(s) { const d = document.createElement('div'); d.textContent = s; return d.innerHTML; }
7export function trunc(s, n) { return (!s || s.length <= n) ? s : s.substring(0, n) + '...'; }

Callers 15

input.jsFile · 0.90
updateSendBtnFunction · 0.90
setSendButtonModeFunction · 0.90
showCmdMenuFunction · 0.90
hideCmdMenuFunction · 0.90
showCmdOverlayFunction · 0.90
hideCmdOverlayFunction · 0.90
initInputFunction · 0.90
openSessionDrawerFunction · 0.90
closeSessionDrawerFunction · 0.90
requestSessionListFunction · 0.90
renderSessionListFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected