MCPcopy Create free account
hub / github.com/MiroMindAI/MiroThinker / onFileSelect

Function onFileSelect

apps/visualize-trace/static/js/script.js:371–377  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

369
370// 文件切换功能
371function onFileSelect() {
372 const selectedOption = elements.fileSelect.options[elements.fileSelect.selectedIndex];
373 if (selectedOption && selectedOption.dataset.index !== undefined) {
374 currentFileIndex = parseInt(selectedOption.dataset.index);
375 updateNavigationButtons();
376 }
377}
378
379function gotoPrevFile() {
380 if (currentFileIndex > 0) {

Callers

nothing calls this directly

Calls 1

updateNavigationButtonsFunction · 0.85

Tested by

no test coverage detected