MCPcopy Create free account
hub / github.com/32comic/image2pixel-web / showProgress

Method showProgress

pixelizer.js:1128–1144  ·  view source on GitHub ↗
(percent, message)

Source from the content-addressed store, hash-verified

1126 }
1127
1128 showProgress(percent, message) {
1129 const progressSection = document.getElementById('progressSection');
1130 const progressFill = document.getElementById('progressFill');
1131 const progressText = document.getElementById('progressText');
1132
1133 if (progressSection) {
1134 progressSection.style.display = 'block';
1135 }
1136
1137 if (progressFill) {
1138 progressFill.style.width = `${percent}%`;
1139 }
1140
1141 if (progressText) {
1142 progressText.textContent = message;
1143 }
1144 }
1145
1146 hideProgress() {
1147 const progressSection = document.getElementById('progressSection');

Callers 4

processImageMethod · 0.95
processAutoModeMethod · 0.95
processManualModeMethod · 0.95
exportPNGMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected