2 Using bare BS pagination instead of ng-bootstrap, which seemed
3 unnecessary given we have to track paging externally anyway.
5 <ul class="pagination">
7 [ngClass]="{disabled : searchContext.pager.isFirstPage()}">
8 <a (click)="prevPage()" (keydown.enter)="prevPage()"
9 class="page-link" tabindex="0"
11 aria-label="Previous">
12 <span aria-hidden="true">«</span>
16 *ngFor="let page of currentPageList()"
17 [ngClass]="{active : searchContext.pager.currentPage() === page}">
18 <a class="page-link" tabindex="0" (click)="setPage(page)" (keydown.enter)="setPage(page)">
19 {{page}} <span class="sr-only" i18n>(current)</span></a>
22 [ngClass]="{disabled : searchContext.pager.isLastPage()}">
23 <a (click)="nextPage()" (keydown.enter)="nextPage()"
24 class="page-link" tabindex="0" aria-label="Next" i18n-aria-label>
25 <span aria-hidden="true">»</span>