MCPcopy
hub / github.com/Anil-matcha/Open-Generative-AI / toggleAdvanced

Function toggleAdvanced

src/components/ImageStudio.js:487–491  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

485
486 // Advanced panel toggle logic
487 const toggleAdvanced = () => {
488 showAdvanced = !showAdvanced;
489 advancedPanel.classList.toggle('hidden', !showAdvanced);
490 document.getElementById('advanced-btn-label').textContent = showAdvanced ? t('common.less') : t('common.advanced');
491 };
492
493 // Add tools panel and advanced panel to container first before accessing their elements
494 container.appendChild(toolsPanel);

Callers

nothing calls this directly

Calls 1

tFunction · 0.90

Tested by

no test coverage detected