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

Method handleModeChange

pixelizer.js:152–159  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

150 }
151
152 handleModeChange(e) {
153 const isManual = e.target.value === 'manual';
154 const manualControls = document.getElementById('manualControls');
155 if (manualControls) {
156 manualControls.style.display = isManual ? 'block' : 'none';
157 }
158 this.updatePreviewIfNeeded();
159 }
160
161 async loadImage(file) {
162 try {

Callers 1

autoDetectAndSuggestMethod · 0.95

Calls 1

updatePreviewIfNeededMethod · 0.95

Tested by

no test coverage detected