MCPcopy Create free account
hub / github.com/angular/components / onCommit

Method onCommit

src/aria/combobox/combobox.spec.ts:1331–1337  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1329 );
1330
1331 onCommit() {
1332 const val = this.value();
1333 if (val.length > 0) {
1334 this.searchString.set(val[0]);
1335 }
1336 this.popupExpanded.set(false);
1337 }
1338
1339 onBlur() {
1340 const search = this.searchString().trim().toLowerCase();

Callers

nothing calls this directly

Calls 2

setMethod · 0.80
valueMethod · 0.45

Tested by

no test coverage detected