MCPcopy Create free account
hub / github.com/danja/dogalog / onComplete

Method onComplete

src/tutorial/tutorialOverlay.js:183–196  ·  view source on GitHub ↗

* Handle tutorial completion

()

Source from the content-addressed store, hash-verified

181 * Handle tutorial completion
182 */
183 onComplete() {
184 this.hide();
185
186 // Show completion message
187 const message = document.createElement('div');
188 message.className = 'tutorial-complete-toast';
189 message.textContent = '✓ Tutorial completed! Keep experimenting.';
190 document.body.appendChild(message);
191
192 setTimeout(() => {
193 message.style.opacity = '0';
194 setTimeout(() => message.remove(), 300);
195 }, 3000);
196 }
197
198 /**
199 * Show overlay

Callers 1

setupEventListenersMethod · 0.95

Calls 2

hideMethod · 0.95
createElementMethod · 0.45

Tested by

no test coverage detected