UNPKG

797 BTypeScriptView Raw
1import { Options } from '@popperjs/core';
2import { PlacementArray } from '../util/positioning';
3import * as i0 from "@angular/core";
4/**
5 * A configuration service for the [`NgbDropdown`](#/components/dropdown/api#NgbDropdown) component.
6 *
7 * You can inject this service, typically in your root component, and customize the values of its properties in
8 * order to provide default values for all the dropdowns used in the application.
9 */
10export declare class NgbDropdownConfig {
11 autoClose: boolean | 'outside' | 'inside';
12 placement: PlacementArray;
13 popperOptions: (options: Partial<Options>) => Partial<Options>;
14 container: null | 'body';
15 static ɵfac: i0.ɵɵFactoryDeclaration<NgbDropdownConfig, never>;
16 static ɵprov: i0.ɵɵInjectableDeclaration<NgbDropdownConfig>;
17}