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

Method _handleHome

packages/main/src/ComboBox.ts:1024–1028  ·  view source on GitHub ↗
(e: KeyboardEvent)

Source from the content-addressed store, hash-verified

1022 }
1023
1024 _handleHome(e: KeyboardEvent) {
1025 const shouldMoveForward = isInstanceOfComboBoxItemGroup(this._filteredItems[0]) && !this.open;
1026
1027 this._handleItemNavigation(e, 0, shouldMoveForward);
1028 }
1029
1030 _handleEnd(e: KeyboardEvent) {
1031 this._handleItemNavigation(e, this._getItems().length - 1, true /* isForward */);

Callers

nothing calls this directly

Calls 1

_handleItemNavigationMethod · 0.95

Tested by

no test coverage detected