handleFocusIn function

Last updated: 2026-03-01T23:25:47.108Z

Metrics

LOC: 16 Complexity: 4 Params: 1

Signature

handleFocusIn(e: FocusEvent): : void

Source Code

function handleFocusIn(e: FocusEvent): void {
  const target = e.target as HTMLElement;

  if (!isFillableField(target)) return;

  if (target.closest(`#${ICON_ID}, #${RULE_POPUP_ID}, #fill-all-notification`))
    return;

  if (hideTimeout) {
    clearTimeout(hideTimeout);
    hideTimeout = null;
  }

  currentTarget = target;
  showIcon(target);
}

Dependencies (Outgoing)

graph LR handleFocusIn["handleFocusIn"] isFillableField["isFillableField"] showIcon["showIcon"] handleFocusIn -->|calls| isFillableField handleFocusIn -->|calls| showIcon style handleFocusIn fill:#dbeafe,stroke:#2563eb,stroke-width:2px click handleFocusIn "f48f990670716512.html" click isFillableField "a14a36f7857211ba.html" click showIcon "c8c2b73545a9c760.html"
TargetType
isFillableField calls
showIcon calls

No incoming dependencies.