import { NgbDate } from './ngb-date'; /** * Context for the datepicker 'day' template in case you want to override the default one */ export interface DayTemplateContext { /** * Date that corresponds to the template. Same as 'date' property. * Can be used for convenience as a default template key, ex. 'let-d') * * @since 3.3.0 */ $implicit: NgbDate; /** * Month currently displayed by the datepicker */ currentMonth: number; /** * Any data you pass using `dayTemplateData` input in the datepicker * * @since 3.3.0 */ data?: any; /** * Date that corresponds to the template */ date: NgbDate; /** * True if current date is disabled */ disabled: boolean; /** * True if current date is focused */ focused: boolean; /** * True if current date is selected */ selected: boolean; }