MCPcopy Create free account
hub / github.com/UI5/webcomponents / _startsWithMatchingItems

Method _startsWithMatchingItems

packages/main/src/ComboBox.ts:849–852  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

847 }
848
849 _startsWithMatchingItems(str: string): Array<IComboBoxItem> {
850 const allItems:Array<IComboBoxItem> = this._getItems().filter(item => !isInstanceOfComboBoxItemGroup(item));
851 return Filters.StartsWith(str, allItems, "text");
852 }
853
854 _clearFocus() {
855 const allItems = this._getItems();

Callers 1

_getFirstMatchingItemMethod · 0.95

Calls 1

_getItemsMethod · 0.95

Tested by

no test coverage detected