constructor method presentation

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

Metrics

LOC: 7 Complexity: 3 Params: 1

Signature

constructor(private readonly opts: SearchableSelectOptions)

Source Code

  constructor(private readonly opts: SearchableSelectOptions) {
    this.flat = flattenEntries(opts.entries);
    this._value = opts.value ?? "";
    const found = this.flat.find((o) => o.value === this._value);
    this._label = found?.label ?? "";
    this.boundHandleOutsideClick = this.handleOutsideClick.bind(this);
  }

Dependencies (Outgoing)

graph LR constructor["constructor"] flattenEntries["flattenEntries"] constructor -->|calls| flattenEntries style constructor fill:#dbeafe,stroke:#2563eb,stroke-width:2px click constructor "84b2188bdf2643c4.html" click flattenEntries "da78fff9504489c0.html"
TargetType
flattenEntries calls

No incoming dependencies.