destroyRulePopup function exported

Last updated: 2026-03-04T23:21:38.396Z

Metrics

LOC: 10 Complexity: 1 Params: 0

Signature

destroyRulePopup(): : void

Source Code

export function destroyRulePopup(): void {
  document.removeEventListener("keydown", handlePopupKeyDown);
  genSearchableSelect?.destroy();
  genSearchableSelect = null;
  rulePopupElement?.remove();
  rulePopupElement = null;
  currentRuleField = null;
  currentOnDismiss = null;
  currentSuggestedType = undefined;
}

No outgoing dependencies.

Impact (Incoming)

graph LR destroyRulePopup["destroyRulePopup"] initFieldIcon["initFieldIcon"] destroyFieldIcon["destroyFieldIcon"] initFieldIcon -->|uses| destroyRulePopup destroyFieldIcon -->|calls| destroyRulePopup style destroyRulePopup fill:#dbeafe,stroke:#2563eb,stroke-width:2px click destroyRulePopup "88a4632d7b6dfb47.html" click initFieldIcon "fcc910dd0c6d49b0.html" click destroyFieldIcon "38d184556fd74df0.html"
SourceType
initFieldIcon uses
destroyFieldIcon calls