ng2-bootstrap
Version:
Native Angular Bootstrap Components
35 lines (34 loc) • 999 B
JavaScript
;
// todo: split
var core_1 = require('@angular/core');
/** Provides default values for Pagination and pager components */
var PaginationConfig = (function () {
function PaginationConfig() {
this.main = {
maxSize: void 0,
itemsPerPage: 10,
boundaryLinks: false,
directionLinks: true,
firstText: 'First',
previousText: 'Previous',
nextText: 'Next',
lastText: 'Last',
pageBtnClass: '',
rotate: true
};
this.pager = {
itemsPerPage: 15,
previousText: '« Previous',
nextText: 'Next »',
pageBtnClass: '',
align: true
};
}
PaginationConfig.decorators = [
{ type: core_1.Injectable },
];
/** @nocollapse */
PaginationConfig.ctorParameters = function () { return []; };
return PaginationConfig;
}());
exports.PaginationConfig = PaginationConfig;