MCPcopy Create free account
hub / github.com/Coneja-Chibi/CarrotKernel / getTutorialOverlay

Function getTutorialOverlay

tutorials.js:380–389  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

378
379// Get or create tutorial overlay
380function getTutorialOverlay() {
381 let overlay = document.getElementById('carrot-tutorial-overlay');
382 if (!overlay) {
383 overlay = document.createElement('div');
384 overlay.id = 'carrot-tutorial-overlay';
385 overlay.className = 'carrot-tutorial-overlay';
386 document.body.appendChild(overlay);
387 }
388 return overlay;
389}
390
391// Position tutorial popup near target element
392function positionTutorialPopup(popup, targetRect) {

Callers 1

showTutorialOverlayFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected