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

Method _handleEnd

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

Source from the content-addressed store, hash-verified

575 }
576
577 async _handleEnd(e: KeyboardEvent) {
578 e.preventDefault();
579 this._changePageIndex(this.items.length - 1, { moveFocus: true });
580 await renderFinished();
581 this.focusItem();
582 }
583
584 async _handlePageUp(e: KeyboardEvent) {
585 e.preventDefault();

Callers 1

_onkeydownMethod · 0.95

Calls 3

_changePageIndexMethod · 0.95
focusItemMethod · 0.95
renderFinishedFunction · 0.85

Tested by

no test coverage detected