dropdown-config.d.ts 511 B

123456789101112
  1. import { PlacementArray } from '../util/positioning';
  2. /**
  3. * A configuration service for the [`NgbDropdown`](#/components/dropdown/api#NgbDropdown) component.
  4. *
  5. * You can inject this service, typically in your root component, and customize the values of its properties in
  6. * order to provide default values for all the dropdowns used in the application.
  7. */
  8. export declare class NgbDropdownConfig {
  9. autoClose: boolean | 'outside' | 'inside';
  10. placement: PlacementArray;
  11. container: null | 'body';
  12. }