1 | import { Injectable } from '@angular/core';
|
2 | import * as i0 from "@angular/core";
|
3 | /**
|
4 | * Configuration service for the Popover directive.
|
5 | * You can inject this service, typically in your root component, and customize
|
6 | * the values of its properties in order to provide default values for all the
|
7 | * popovers used in the application.
|
8 | */
|
9 | export class PopoverConfig {
|
10 | constructor() {
|
11 | /** sets disable adaptive position */
|
12 | this.adaptivePosition = true;
|
13 | /**
|
14 | * Placement of a popover. Accepts: "top", "bottom", "left", "right", "auto"
|
15 | */
|
16 | this.placement = 'top';
|
17 | /**
|
18 | * Specifies events that should trigger. Supports a space separated list of
|
19 | * event names.
|
20 | */
|
21 | this.triggers = 'click';
|
22 | this.outsideClick = false;
|
23 | /** delay before showing the tooltip */
|
24 | this.delay = 0;
|
25 | }
|
26 | }
|
27 | PopoverConfig.ɵprov = i0.ɵɵdefineInjectable({ factory: function PopoverConfig_Factory() { return new PopoverConfig(); }, token: PopoverConfig, providedIn: "root" });
|
28 | PopoverConfig.decorators = [
|
29 | { type: Injectable, args: [{
|
30 | providedIn: 'root'
|
31 | },] }
|
32 | ];
|
33 | //# sourceMappingURL=popover.config.js.map |
\ | No newline at end of file |