ng2-encrm-components
Version:
16 lines • 572 B
JavaScript
var TableConfig = (function () {
function TableConfig(headers) {
this.page = {};
this.page.number = 1;
this.page.numOfRows = 10;
this.page.totalElements = 100;
this.headers = headers;
}
TableConfig.serialize = function (config) { return encodeURIComponent(JSON.stringify(config)); };
TableConfig.deserialize = function (url) { return JSON.parse(decodeURIComponent(url)); };
return TableConfig;
}());
exports.TableConfig = TableConfig;
;
//# sourceMappingURL=table-config.class.js.map
;