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

Method _fireChangeEvent

packages/main/src/Select.ts:981–993  ·  view source on GitHub ↗
(selectedOption: IOption)

Source from the content-addressed store, hash-verified

979 }
980
981 _fireChangeEvent(selectedOption: IOption) {
982 const changePrevented = !this.fireDecoratorEvent("change", { selectedOption });
983
984 // Angular two way data binding
985 this.fireDecoratorEvent("selected-item-changed");
986
987 // Fire input event for Vue.js two-way binding
988 this.fireDecoratorEvent("input");
989
990 if (changePrevented) {
991 this._select(this._selectedIndexBeforeOpen);
992 }
993 }
994
995 get valueStateTextMappings() {
996 return {

Callers 2

_changeSelectedItemMethod · 0.95
_afterCloseMethod · 0.95

Calls 1

_selectMethod · 0.95

Tested by

no test coverage detected