datepicker-input-config.d.ts 732 B

1234567891011121314151617
  1. import { NgbDatepickerConfig } from './datepicker-config';
  2. import { 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. */
  11. export 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. }