angular-weblineindia-date-picker
Version:
Date Picker component built in AngularJS to select date and time. Supports Angular 9 version.
25 lines (24 loc) • 900 B
TypeScript
import { Moment } from 'moment';
import { ICalendar, ICalendarInternal } from '../common/models/calendar.model';
import { ECalendarValue } from '..';
export interface IConfig {
isMonthDisabledCallback?: (date: Moment) => boolean;
allowMultiSelect?: boolean;
yearFormat?: string;
yearFormatter?: (month: Moment) => string;
format?: string;
isNavHeaderBtnClickable?: boolean;
monthBtnFormat?: string;
monthBtnFormatter?: (day: Moment) => string;
numOfMonthRows?: number;
monthBtnCssClassCallback?: (day: Moment) => string;
multipleYearsNavigateBy?: number;
showMultipleYearsNavigation?: boolean;
returnedValueType?: ECalendarValue;
showGoToCurrent?: boolean;
unSelectOnClick?: boolean;
}
export interface IMonthCalendarConfig extends IConfig, ICalendar {
}
export interface IMonthCalendarConfigInternal extends IConfig, ICalendarInternal {
}