UNPKG

560 BTypeScriptView Raw
1import { NgbDatepicker } from './datepicker';
2/**
3 * The context for the datepicker 'content' template.
4 *
5 * You can override the way content is displayed in the datepicker via the `[contentTemplate]` input
6 * or via the [`NgbDatepickerContent`](#/components/datepicker/api#NgbDatepickerContent) directive.
7 *
8 * @since 14.2.0
9 */
10export interface ContentTemplateContext {
11 /**
12 * The datepicker that corresponds to the template.
13 *
14 * Can be used for convenience as a default template key, ex. `let-d`.
15 */
16 $implicit: NgbDatepicker;
17}