| 123456789101112131415161718192021222324252627282930313233 |
- import { TemplateRef } from '@angular/core';
- import { DayTemplateContext } from './datepicker-day-template-context';
- import { NgbDateStruct } from './ngb-date-struct';
- /**
- * A configuration service for the [`NgbDatepicker`](#/components/datepicker/api#NgbDatepicker) component.
- *
- * You can inject this service, typically in your root component, and customize the values of its properties in
- * order to provide default values for all the datepickers used in the application.
- */
- export declare class NgbDatepickerConfig {
- dayTemplate: TemplateRef<DayTemplateContext>;
- dayTemplateData: (date: NgbDateStruct, current: {
- year: number;
- month: number;
- }) => any;
- footerTemplate: TemplateRef<any>;
- displayMonths: number;
- firstDayOfWeek: number;
- markDisabled: (date: NgbDateStruct, current: {
- year: number;
- month: number;
- }) => boolean;
- minDate: NgbDateStruct;
- maxDate: NgbDateStruct;
- navigation: 'select' | 'arrows' | 'none';
- outsideDays: 'visible' | 'collapsed' | 'hidden';
- showWeekdays: boolean;
- showWeekNumbers: boolean;
- startDate: {
- year: number;
- month: number;
- };
- }
|