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

Method _getPreviousOptionIndex

packages/main/src/Select.ts:934–936  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

932 }
933
934 _getPreviousOptionIndex() {
935 return this._selectedIndex === 0 ? this._selectedIndex : (this._selectedIndex - 1);
936 }
937
938 _beforeOpen() {
939 this._selectedIndexBeforeOpen = this._selectedIndex;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected