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

Method selectItem

src/aria/combobox/combobox.spec.ts:1776–1780  ·  view source on GitHub ↗
(item: string)

Source from the content-addressed store, hash-verified

1774 });
1775
1776 selectItem(item: string) {
1777 this.selectedItem.set(item);
1778 this.searchString.set(item);
1779 this.popupExpanded.set(false);
1780 }
1781
1782 removeItem(itemToRemove: string) {
1783 this.items.update(items => items.filter(item => item !== itemToRemove));

Callers

nothing calls this directly

Calls 1

setMethod · 0.80

Tested by

no test coverage detected