UNPKG

749 BTypeScriptView Raw
1import { NgbDatepickerConfig } from './datepicker-config';
2import { PlacementArray } from '../util/positioning';
3/**
4 * A configuration service for the [`NgbDatepickerInput`](#/components/datepicker/api#NgbDatepicker) component.
5 *
6 * You can inject this service, typically in your root component, and customize the values of its properties in
7 * order to provide default values for all the datepicker inputs used in the application.
8 *
9 * @since 5.2.0
10 */
11export declare class NgbInputDatepickerConfig extends NgbDatepickerConfig {
12 autoClose: boolean | 'inside' | 'outside';
13 container: null | 'body';
14 positionTarget: string | HTMLElement;
15 placement: PlacementArray;
16 restoreFocus: true | HTMLElement | string;
17}