UNPKG

1.02 kBTypeScriptView Raw
1import { PlacementArray } from '../util/positioning';
2import { Options } from '@popperjs/core';
3import * as i0 from "@angular/core";
4/**
5 * A configuration service for the [`NgbPopover`](#/components/popover/api#NgbPopover) 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 popovers used in the application.
9 */
10export declare class NgbPopoverConfig {
11 private _ngbConfig;
12 private _animation;
13 autoClose: boolean | 'inside' | 'outside';
14 placement: PlacementArray;
15 popperOptions: (options: Partial<Options>) => Partial<Options>;
16 triggers: string;
17 container: string;
18 disablePopover: boolean;
19 popoverClass: string;
20 openDelay: number;
21 closeDelay: number;
22 get animation(): boolean;
23 set animation(animation: boolean);
24 static ɵfac: i0.ɵɵFactoryDeclaration<NgbPopoverConfig, never>;
25 static ɵprov: i0.ɵɵInjectableDeclaration<NgbPopoverConfig>;
26}