onInputChange method private presentation
Last updated: 2026-03-04T23:21:38.428Z
Metrics
LOC: 11
Complexity: 3
Params: 0
Signature
onInputChange(): : void
Source Code
private onInputChange(): void {
if (!this._open) this.open();
const query = this.input!.value.toLowerCase();
const filtered = this.flat.filter(
(o) =>
o.label.toLowerCase().includes(query) ||
o.value.toLowerCase().includes(query),
);
this._highlighted = -1;
this.renderOptions(filtered);
}
No outgoing dependencies.
No incoming dependencies.