MCPcopy Index your code
hub / github.com/UI5/webcomponents / _handleEndKey

Method _handleEndKey

packages/main/src/Select.ts:771–780  ·  view source on GitHub ↗
(e: KeyboardEvent)

Source from the content-addressed store, hash-verified

769 }
770
771 _handleEndKey(e: KeyboardEvent) {
772 e.preventDefault();
773
774 if (this.readonly) {
775 return;
776 }
777
778 const lastIndex = this.options.length - 1;
779 this._changeSelectedItem(this._selectedIndex, lastIndex);
780 }
781
782 _onkeyup(e: KeyboardEvent) {
783 if (isSpace(e)) {

Callers 1

_onkeydownMethod · 0.95

Calls 1

_changeSelectedItemMethod · 0.95

Tested by

no test coverage detected