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

Function initInteractions

app/src/modules/interactions.js:409–423  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

407}
408
409export function initInteractions() {
410 $('question-prev-btn').addEventListener('click', goToPrev);
411 $('question-next-btn').addEventListener('click', goToNext);
412 $('question-other-input').addEventListener('input', e => {
413 if (questionSubmitting) return;
414 updateOtherText(e.target.value || '');
415 });
416 $('question-other-input').addEventListener('keydown', e => {
417 if (e.key === 'Enter') { e.preventDefault(); goToNext(); }
418 });
419 $('plan-other-btn').addEventListener('click', sendPlanOther);
420 $('plan-other-input').addEventListener('keydown', e => {
421 if (e.key === 'Enter') { e.preventDefault(); sendPlanOther(); }
422 });
423}

Callers

nothing calls this directly

Calls 4

$Function · 0.90
updateOtherTextFunction · 0.70
goToNextFunction · 0.70
sendPlanOtherFunction · 0.70

Tested by

no test coverage detected