MCPcopy Create free account
hub / github.com/altic-dev/Pilot / createOverlay

Method createOverlay

public/picker/react-component-picker.js:71–85  ·  view source on GitHub ↗

* Create overlay element for highlighting

()

Source from the content-addressed store, hash-verified

69 * Create overlay element for highlighting
70 */
71 createOverlay() {
72 this.overlay = document.createElement('div');
73 this.overlay.id = '__pilot-picker-overlay';
74 this.overlay.style.cssText = `
75 position: absolute;
76 pointer-events: none;
77 z-index: 999999;
78 background: rgba(59, 130, 246, 0.2);
79 border: 2px solid rgb(59, 130, 246);
80 border-radius: 4px;
81 transition: all 0.1s ease;
82 display: none;
83 `;
84 document.body.appendChild(this.overlay);
85 }
86
87 /**
88 * Create tooltip element for component name display

Callers 1

activateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected