()
| 645 | } |
| 646 | |
| 647 | async navigateArrowLeft() { |
| 648 | let newCurrentPageIndex = this._currentPageIndex - 1; |
| 649 | if (this.cyclic && newCurrentPageIndex < 0) { |
| 650 | newCurrentPageIndex = this.items.length - 1; |
| 651 | } |
| 652 | |
| 653 | this._changePageIndex(newCurrentPageIndex); |
| 654 | await renderFinished(); |
| 655 | this.focusItem(); |
| 656 | } |
| 657 | |
| 658 | focusItem() { |
| 659 | this.carouselItemDomRef(this._focusedItemIndex)[0].focus({ preventScroll: true }); |
no test coverage detected