destroyFieldIcon function exported

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

Metrics

LOC: 9 Complexity: 1 Params: 0

Signature

destroyFieldIcon(): : void

Summary

Destroys the field icon feature

Source Code

export function destroyFieldIcon(): void {
  document.removeEventListener("focusin", handleFocusIn, true);
  document.removeEventListener("focusout", handleFocusOut, true);
  document.removeEventListener("scroll", repositionIcon, true);
  window.removeEventListener("resize", repositionIcon);
  removeIcon();
  removeStyles();
  destroyRulePopup();
}

Dependencies (Outgoing)

graph LR destroyFieldIcon["destroyFieldIcon"] removeIcon["removeIcon"] removeStyles["removeStyles"] destroyRulePopup["destroyRulePopup"] destroyFieldIcon -->|calls| removeIcon destroyFieldIcon -->|calls| removeStyles destroyFieldIcon -->|calls| destroyRulePopup style destroyFieldIcon fill:#dbeafe,stroke:#2563eb,stroke-width:2px click destroyFieldIcon "38d184556fd74df0.html" click removeIcon "8711122051526789.html" click removeStyles "f32387dde5675e7f.html" click destroyRulePopup "88a4632d7b6dfb47.html"
TargetType
removeIcon calls
removeStyles calls
destroyRulePopup calls

No incoming dependencies.