@ng-bootstrap/ng-bootstrap
Version:
Angular powered Bootstrap
18 lines (17 loc) • 732 B
TypeScript
import { NgbDatepickerConfig } from './datepicker-config';
import { PlacementArray } from '../util/positioning';
/**
* 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;
restoreFocus: true | HTMLElement | string;
}