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

Method onCommit

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

Source from the content-addressed store, hash-verified

1482 );
1483
1484 onCommit() {
1485 const val = this.value();
1486 if (val.length > 0) {
1487 this.searchString.set(val[0]);
1488 }
1489 this.popupExpanded.set(false);
1490 }
1491
1492 onBlur() {
1493 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