UNPKG

ng2-bootstrap

Version:
35 lines (34 loc) 1.37 kB
"use strict"; var core_1 = require('@angular/core'); /** Provides default configuration values for timepicker */ var TimepickerConfig = (function () { function TimepickerConfig() { /** hours change step */ this.hourStep = 1; /** hours change step */ this.minuteStep = 5; /** if true works in 12H mode and displays AM/PM. If false works in 24H mode and hides AM/PM */ this.showMeridian = true; /** meridian labels based on locale */ this.meridians = ['AM', 'PM']; /** if true hours and minutes fields will be readonly */ this.readonlyInput = false; /** if true scroll inside hours and minutes inputs will change time */ this.mousewheel = true; /** if true up/down arrowkeys inside hours and minutes inputs will change time */ this.arrowkeys = true; /** if true spinner arrows above and below the inputs will be shown */ this.showSpinners = true; /** minimum time user can select */ this.min = void 0; /** maximum time user can select */ this.max = void 0; } TimepickerConfig.decorators = [ { type: core_1.Injectable }, ]; /** @nocollapse */ TimepickerConfig.ctorParameters = function () { return []; }; return TimepickerConfig; }()); exports.TimepickerConfig = TimepickerConfig;