matches method infrastructure ✓ 100.0%

Last updated: 2026-02-24T19:46:21.768Z

Metrics

LOC: 6 Complexity: 2 Params: 1 Coverage: 100.0% (1/1 lines, 3x executed)

Signature

matches(el: HTMLElement): : boolean

Source Code

  matches(el: HTMLElement): boolean {
    return (
      el.classList.contains("select2-container") ||
      el.classList.contains("select2")
    );
  },

Dependencies (Outgoing)

graph LR matches["matches"] FormField["FormField"] CustomComponentAdapter["CustomComponentAdapter"] getUniqueSelector["getUniqueSelector"] buildSignals["buildSignals"] findLabelWithStrategy["findLabelWithStrategy"] matches -->|uses| FormField matches -->|uses| CustomComponentAdapter matches -->|uses| getUniqueSelector matches -->|uses| buildSignals matches -->|uses| findLabelWithStrategy style matches fill:#dbeafe,stroke:#2563eb,stroke-width:2px click matches "ed5c5e1d43eb1858.html" click FormField "85cdbded927c91b0.html" click CustomComponentAdapter "dc86c1894fa368f3.html" click getUniqueSelector "7276f3807435c3b4.html" click buildSignals "fdbba0db0d498eca.html" click findLabelWithStrategy "8f614323e886c07b.html"

No incoming dependencies.