ngx-bootstrap
Version:
Angular Bootstrap
29 lines (28 loc) • 1.24 kB
TypeScript
import { Action } from 'ngx-bootstrap/mini-ngrx';
import { TimeChangeEvent, TimepickerComponentState, Time } from '../timepicker.models';
import * as i0 from "@angular/core";
export declare class TimepickerActions {
static readonly WRITE_VALUE = "[timepicker] write value from ng model";
static readonly CHANGE_HOURS = "[timepicker] change hours";
static readonly CHANGE_MINUTES = "[timepicker] change minutes";
static readonly CHANGE_SECONDS = "[timepicker] change seconds";
static readonly SET_TIME_UNIT = "[timepicker] set time unit";
static readonly UPDATE_CONTROLS = "[timepicker] update controls";
writeValue(value?: Date | string): {
type: string;
payload: string | Date | undefined;
};
changeHours(event: TimeChangeEvent): {
type: string;
payload: TimeChangeEvent;
};
changeMinutes(event: TimeChangeEvent): {
type: string;
payload: TimeChangeEvent;
};
changeSeconds(event: TimeChangeEvent): Action;
setTime(value: Time): Action;
updateControls(value: TimepickerComponentState): Action;
static ɵfac: i0.ɵɵFactoryDeclaration<TimepickerActions, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<TimepickerActions>;
}