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 [`NgbTooltip`](#/components/tooltip/api#NgbTooltip) 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 tooltips used in the application.
9 */
10export declare class NgbTooltipConfig {
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 disableTooltip: boolean;
19 tooltipClass: string;
20 openDelay: number;
21 closeDelay: number;
22 get animation(): boolean;
23 set animation(animation: boolean);
24 static ɵfac: i0.ɵɵFactoryDeclaration<NgbTooltipConfig, never>;
25 static ɵprov: i0.ɵɵInjectableDeclaration<NgbTooltipConfig>;
26}