]>
Commit | Line | Data |
---|---|---|
494da23a | 1 | import { Component } from '@angular/core'; |
11fdf7f2 | 2 | |
f67539c2 TL |
3 | import { NgbPopoverConfig, NgbTooltipConfig } from '@ng-bootstrap/ng-bootstrap'; |
4 | ||
11fdf7f2 TL |
5 | @Component({ |
6 | selector: 'cd-root', | |
7 | templateUrl: './app.component.html', | |
9f95a23c | 8 | styleUrls: ['./app.component.scss'] |
11fdf7f2 TL |
9 | }) |
10 | export class AppComponent { | |
f67539c2 TL |
11 | constructor(popoverConfig: NgbPopoverConfig, tooltipConfig: NgbTooltipConfig) { |
12 | popoverConfig.autoClose = 'outside'; | |
13 | popoverConfig.container = 'body'; | |
14 | popoverConfig.placement = 'bottom'; | |
15 | ||
16 | tooltipConfig.container = 'body'; | |
17 | } | |
11fdf7f2 | 18 | } |