MCPcopy Index your code
hub / github.com/zxlie/FeHelper / toggleManualInputs

Function toggleManualInputs

apps/chart-maker/main.js:30–37  ·  view source on GitHub ↗
(show)

Source from the content-addressed store, hash-verified

28 loadPatchHotfix();
29
30 function toggleManualInputs(show) {
31 manualFormatContainer.style.display = show ? 'block' : 'none';
32 const selectedFormat = manualFormatSelect.value;
33 manualInputContainers.forEach(container => {
34 const containerId = container.id.split('-')[0]; // 'simple', 'series', 'csv'
35 container.style.display = (show && containerId === selectedFormat) ? 'block' : 'none';
36 });
37 }
38
39 // 初始化时调用updateChartTypeOptions函数
40 // 无论当前选择的是什么输入方式,都初始化图表类型

Callers 1

main.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected