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

Method _clearPopoverFocusAndSelection

packages/main/src/Input.ts:1179–1188  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1177 }
1178
1179 _clearPopoverFocusAndSelection() {
1180 if (!this.showSuggestions || !this.Suggestions) {
1181 return;
1182 }
1183
1184 this.hasSuggestionItemSelected = false;
1185
1186 this.Suggestions?._deselectItems();
1187 this.Suggestions?._clearItemFocus();
1188 }
1189
1190 _click() {
1191 if (isPhone() && !this.readonly && this.Suggestions) {

Callers 2

_onkeydownMethod · 0.95
_onfocusoutMethod · 0.95

Calls 2

_clearItemFocusMethod · 0.80
_deselectItemsMethod · 0.45

Tested by

no test coverage detected