@@ -161,12 +161,12 @@ export interface PaginationTranslations {
161161 iconOnly="true"
162162 class="cds--pagination__button cds--pagination__button--backward"
163163 [ngClass]="{
164- 'cds--pagination__button--no-index': currentPage <= 1 || disabled
164+ 'cds--pagination__button--no-index': currentPage <= 1 || backwardDisabled
165165 }"
166166 tabindex="0"
167167 [attr.aria-label]="backwardText.subject | async"
168168 (click)="selectPage.emit(previousPage)"
169- [disabled]="(currentPage <= 1 || disabled ? true : null)">
169+ [disabled]="(currentPage <= 1 || backwardDisabled ? true : null)">
170170 <svg cdsIcon="caret--left" size="16" class="cds--btn__icon"></svg>
171171 </button>
172172
@@ -177,12 +177,12 @@ export interface PaginationTranslations {
177177 cds--pagination__button
178178 cds--pagination__button--forward"
179179 [ngClass]="{
180- 'cds--pagination__button--no-index': currentPage >= lastPage || disabled
180+ 'cds--pagination__button--no-index': currentPage >= lastPage || forwardDisabled
181181 }"
182182 tabindex="0"
183183 [attr.aria-label]="forwardText.subject | async"
184184 (click)="selectPage.emit(nextPage)"
185- [disabled]="(currentPage >= lastPage || disabled ? true : null)">
185+ [disabled]="(currentPage >= lastPage || forwardDisabled ? true : null)">
186186 <svg cdsIcon="caret--right" size="16" class="cds--btn__icon"></svg>
187187 </button>
188188 </div>
@@ -204,7 +204,10 @@ export class Pagination {
204204 /**
205205 * Set to `true` to disable the backward/forward buttons.
206206 */
207- @Input ( ) disabled = false ;
207+ @Input ( ) set disabled ( value : boolean ) {
208+ this . backwardDisabled = value ;
209+ this . forwardDisabled = value ;
210+ }
208211 /**
209212 * Set to `true` to disable the select box that changes the page.
210213 */
@@ -219,6 +222,9 @@ export class Pagination {
219222 @Input ( ) pagesUnknown = false ;
220223 @Input ( ) pageSelectThreshold = 1000 ;
221224
225+ @Input ( ) backwardDisabled = false ;
226+ @Input ( ) forwardDisabled = false ;
227+
222228 /**
223229 * Expects an object that contains some or all of:
224230 * ```
0 commit comments