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)
| Source | Type |
|---|---|
| initFieldIcon | uses |
| destroyFieldIcon | calls |