]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/src/app/app.component.ts
import ceph quincy 17.2.6
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / app.component.ts
1 import { Component } from '@angular/core';
2
3 import { NgbPopoverConfig, NgbTooltipConfig } from '@ng-bootstrap/ng-bootstrap';
4
5 @Component({
6 selector: 'cd-root',
7 templateUrl: './app.component.html',
8 styleUrls: ['./app.component.scss']
9 })
10 export class AppComponent {
11 constructor(popoverConfig: NgbPopoverConfig, tooltipConfig: NgbTooltipConfig) {
12 popoverConfig.autoClose = 'outside';
13 popoverConfig.container = 'body';
14 popoverConfig.placement = 'bottom';
15
16 tooltipConfig.container = 'body';
17 }
18 }