MCPcopy Create free account
hub / github.com/Forward-Future/loopy / syncPromptToggle

Function syncPromptToggle

loop-library/site/script.js:223–234  ·  view source on GitHub ↗
({ button, prompt, row })

Source from the content-addressed store, hash-verified

221 prompt.classList.toggle("is-expanded", nextExpanded);
222 });
223
224 return preview;
225 })
226 .filter(Boolean);
227
228function syncPromptToggle({ button, prompt, row }) {
229 if (row.hidden) {
230 return;
231 }
232
233 if (button.getAttribute("aria-expanded") === "true") {
234 button.hidden = false;
235 return;
236 }
237

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected