We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e68552 commit f1a8138Copy full SHA for f1a8138
src/pagination/pagination.component.ts
@@ -7,8 +7,7 @@ import {
7
} from "@angular/core";
8
9
import { range } from "../common/utils";
10
-
11
-const EN = require("./../i18n/en.json");
+import { I18n } from "./../i18n/i18n.module";
12
13
/**
14
* Use pagination when you have multiple pages of data to handle.
@@ -219,7 +218,7 @@ export class Pagination {
219
218
itemsPerPageSelectId = `pagination-select-items-per-page-${Pagination.paginationCounter}`;
220
currentPageSelectId = `pagination-select-current-page-${Pagination.paginationCounter}`;
221
222
- constructor() {
+ constructor(protected i18n: I18n) {
223
Pagination.paginationCounter++;
224
}
225
0 commit comments