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

Method _handleHome

packages/main/src/Carousel.ts:570–575  ·  view source on GitHub ↗
(e: KeyboardEvent)

Source from the content-addressed store, hash-verified

568 }
569
570 async _handleHome(e: KeyboardEvent) {
571 e.preventDefault();
572 this._changePageIndex(0, { moveFocus: true });
573 await renderFinished();
574 this.focusItem();
575 }
576
577 async _handleEnd(e: KeyboardEvent) {
578 e.preventDefault();

Callers 1

_onkeydownMethod · 0.95

Calls 3

_changePageIndexMethod · 0.95
focusItemMethod · 0.95
renderFinishedFunction · 0.85

Tested by

no test coverage detected