ngx-bootstrap
Version:
Native Angular Bootstrap Components
55 lines • 1.9 kB
JavaScript
import { Injectable } from '@angular/core';
var TimepickerActions = (function () {
function TimepickerActions() {
}
TimepickerActions.prototype.writeValue = function (value) {
return {
type: TimepickerActions.WRITE_VALUE,
payload: value
};
};
TimepickerActions.prototype.changeHours = function (event) {
return {
type: TimepickerActions.CHANGE_HOURS,
payload: event
};
};
TimepickerActions.prototype.changeMinutes = function (event) {
return {
type: TimepickerActions.CHANGE_MINUTES,
payload: event
};
};
TimepickerActions.prototype.changeSeconds = function (event) {
return {
type: TimepickerActions.CHANGE_SECONDS,
payload: event
};
};
TimepickerActions.prototype.setTime = function (value) {
return {
type: TimepickerActions.SET_TIME_UNIT,
payload: value
};
};
TimepickerActions.prototype.updateControls = function (value) {
return {
type: TimepickerActions.UPDATE_CONTROLS,
payload: value
};
};
TimepickerActions.WRITE_VALUE = '[timepicker] write value from ng model';
TimepickerActions.CHANGE_HOURS = '[timepicker] change hours';
TimepickerActions.CHANGE_MINUTES = '[timepicker] change minutes';
TimepickerActions.CHANGE_SECONDS = '[timepicker] change seconds';
TimepickerActions.SET_TIME_UNIT = '[timepicker] set time unit';
TimepickerActions.UPDATE_CONTROLS = '[timepicker] update controls';
TimepickerActions.decorators = [
{ type: Injectable },
];
/** @nocollapse */
TimepickerActions.ctorParameters = function () { return []; };
return TimepickerActions;
}());
export { TimepickerActions };
//# sourceMappingURL=timepicker.actions.js.map