angular-mydatepicker
Version:
Angular datepicker and date range picker
20 lines (19 loc) • 963 B
TypeScript
import { EventEmitter, OnChanges, AfterViewInit, SimpleChanges } from "@angular/core";
import { IMyCalendarMonth } from "../../interfaces/my-calendar-month.interface";
import { IMyOptions } from "../../interfaces/my-options.interface";
import { ActiveView } from "../../enums/active-view.enum";
import { UtilService } from "../../services/angular-mydatepicker.util.service";
export declare class MonthViewComponent implements OnChanges, AfterViewInit {
private utilService;
opts: IMyOptions;
months: Array<Array<IMyCalendarMonth>>;
viewChanged: boolean;
monthCellClicked: EventEmitter<IMyCalendarMonth>;
monthCellKeyDown: EventEmitter<any>;
viewActivated: EventEmitter<ActiveView>;
constructor(utilService: UtilService);
ngOnChanges(changes: SimpleChanges): void;
ngAfterViewInit(): void;
onMonthCellClicked(event: any, cell: IMyCalendarMonth): void;
onMonthCellKeyDown(event: any, cell: IMyCalendarMonth): void;
}