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

Function updateSendBtn

app/src/modules/input.js:21–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19let cmdActiveIdx = -1;
20
21export function updateSendBtn() {
22 const btn = $('btn-send');
23 if (S.waiting) {
24 btn.classList.remove('empty');
25 return;
26 }
27 const empty = !$input.value.trim() && !pendingImage;
28 btn.classList.toggle('empty', empty);
29}
30
31export function setSendButtonMode(mode) {
32 const btn = $('btn-send');

Callers 7

clearPendingImageFunction · 0.90
initImageUploadFunction · 0.90
clearConversationUiFunction · 0.90
restoreSessionCacheFunction · 0.90
setWaitingFunction · 0.90
execCmdFunction · 0.70
initInputFunction · 0.70

Calls 1

$Function · 0.90

Tested by

no test coverage detected