18 lines
797 B
TypeScript
18 lines
797 B
TypeScript
import { Options } from '@popperjs/core';
|
|
import { PlacementArray } from '../util/positioning';
|
|
import * as i0 from "@angular/core";
|
|
/**
|
|
* A configuration service for the [`NgbDropdown`](#/components/dropdown/api#NgbDropdown) 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 dropdowns used in the application.
|
|
*/
|
|
export declare class NgbDropdownConfig {
|
|
autoClose: boolean | 'outside' | 'inside';
|
|
placement: PlacementArray;
|
|
popperOptions: (options: Partial<Options>) => Partial<Options>;
|
|
container: null | 'body';
|
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgbDropdownConfig, never>;
|
|
static ɵprov: i0.ɵɵInjectableDeclaration<NgbDropdownConfig>;
|
|
}
|