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

Method _startsWithMatchingItems

packages/main/src/Input.ts:1316–1318  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

1314 }
1315
1316 _startsWithMatchingItems(str: string): Array<IInputSuggestionItemSelectable> {
1317 return Filters.StartsWith(str, this._selectableItems, "text");
1318 }
1319
1320 _getFirstMatchingItem(current: string): IInputSuggestionItemSelectable | undefined {
1321 if (!this._flattenItems.length) {

Callers 1

_getFirstMatchingItemMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected