positionBadge function
Last updated: 2026-03-04T23:21:38.398Z
Location
Metrics
LOC: 5
Complexity: 1
Params: 0
Signature
positionBadge(): : void
Source Code
function positionBadge(): void {
const rect = element.getBoundingClientRect();
badge.style.top = `${rect.top + window.scrollY - 20}px`;
badge.style.left = `${rect.right + window.scrollX - 42}px`;
}
No outgoing dependencies.
Impact (Incoming)
| Source | Type |
|---|---|
| showAiFieldBadge | calls |