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

Method fireSelectionChange

packages/main/src/Input.ts:1751–1756  ·  view source on GitHub ↗
(item: IInputSuggestionItem | null, isValueFromSuggestions: boolean)

Source from the content-addressed store, hash-verified

1749 }
1750
1751 fireSelectionChange(item: IInputSuggestionItem | null, isValueFromSuggestions: boolean) {
1752 if (this.Suggestions) {
1753 this.fireDecoratorEvent(INPUT_EVENTS.SELECTION_CHANGE, { item });
1754 this._isLatestValueFromSuggestions = isValueFromSuggestions;
1755 }
1756 }
1757
1758 fireResetSelectionChange() {
1759 if (this._isLatestValueFromSuggestions) {

Callers 4

_handleEnterMethod · 0.95
onItemSelectedMethod · 0.95
onItemSelectMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected