23 lines
1.0 KiB
TypeScript
23 lines
1.0 KiB
TypeScript
|
|
import { NgbDatepickerConfig } from './datepicker-config';
|
||
|
|
import { PlacementArray } from '../util/positioning';
|
||
|
|
import { Options } from '@popperjs/core';
|
||
|
|
import * as i0 from "@angular/core";
|
||
|
|
/**
|
||
|
|
* A configuration service for the [`NgbDatepickerInput`](#/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 datepicker inputs used in the application.
|
||
|
|
*
|
||
|
|
* @since 5.2.0
|
||
|
|
*/
|
||
|
|
export declare class NgbInputDatepickerConfig extends NgbDatepickerConfig {
|
||
|
|
autoClose: boolean | 'inside' | 'outside';
|
||
|
|
container: null | 'body';
|
||
|
|
positionTarget: string | HTMLElement;
|
||
|
|
placement: PlacementArray;
|
||
|
|
popperOptions: (options: Partial<Options>) => Partial<Options>;
|
||
|
|
restoreFocus: true | HTMLElement | string;
|
||
|
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgbInputDatepickerConfig, never>;
|
||
|
|
static ɵprov: i0.ɵɵInjectableDeclaration<NgbInputDatepickerConfig>;
|
||
|
|
}
|