diff --git a/src/jw-pagination.component.ts b/src/jw-pagination.component.ts index f8ccb40..d357468 100644 --- a/src/jw-pagination.component.ts +++ b/src/jw-pagination.component.ts @@ -7,19 +7,19 @@ import paginate = require('jw-paginate'); selector: 'jw-pagination', template: `` }) @@ -30,6 +30,10 @@ export class JwPaginationComponent implements OnInit, OnChanges { @Input() initialPage = 1; @Input() pageSize = 10; @Input() maxPages = 10; + @Input() firstItemButton = "First"; + @Input() previousItemButton = "Previous"; + @Input() nextItemButton = "Next"; + @Input() lastItemButton = "Last"; pager: any = {}; @@ -57,4 +61,4 @@ export class JwPaginationComponent implements OnInit, OnChanges { // call change page function in parent component this.changePage.emit(pageOfItems); } -} \ No newline at end of file +}