MCPcopy Create free account
hub / github.com/MemeTray/MemeTray / updateStepIndicator

Function updateStepIndicator

tools/all-in-one/script.js:378–388  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

376
377// Refresh the step indicator UI
378function updateStepIndicator() {
379 const steps = document.querySelectorAll('.step');
380 steps.forEach((step, index) => {
381 step.classList.remove('active', 'completed');
382 if (index + 1 < state.step) {
383 step.classList.add('completed');
384 } else if (index + 1 === state.step) {
385 step.classList.add('active');
386 }
387 });
388}
389
390// Show progress feedback
391function showProgress(text, percent) {

Callers 3

initFunction · 0.85
setStepFunction · 0.85
restartFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected