UNPKG

ng2-bootstrap

Version:
30 lines (29 loc) 932 B
"use strict"; var core_1 = require('@angular/core'); var DatepickerConfig = (function () { function DatepickerConfig() { this.datepickerMode = 'day'; this.startingDay = 0; this.yearRange = 20; this.minMode = 'day'; this.maxMode = 'year'; this.showWeeks = true; this.formatDay = 'DD'; this.formatMonth = 'MMMM'; this.formatYear = 'YYYY'; this.formatDayHeader = 'dd'; this.formatDayTitle = 'MMMM YYYY'; this.formatMonthTitle = 'YYYY'; this.onlyCurrentMonth = false; this.monthColLimit = 3; this.yearColLimit = 5; this.shortcutPropagation = false; } DatepickerConfig.decorators = [ { type: core_1.Injectable }, ]; /** @nocollapse */ DatepickerConfig.ctorParameters = function () { return []; }; return DatepickerConfig; }()); exports.DatepickerConfig = DatepickerConfig;