UNPKG

ng2-date-picker

Version:

[![Build Status](https://travis-ci.org/vlio20/angular-datepicker.svg?branch=master)](https://travis-ci.org/vlio20/angular-datepicker) [![Backers on Open Collective](https://opencollective.com/angular-datepicker/backers/badge.svg)](#backers) [![Sponsor

24 lines (23 loc) 904 B
import { Moment } from 'moment'; import { ICalendar, ICalendarInternal } from '../common/models/calendar.model'; import { ECalendarValue } from '../common/types/calendar-value-enum'; 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; 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 { }