UNPKG

907 BJavaScriptView Raw
1import { Injectable } from '@angular/core';
2/**
3 * Configuration service for the Popover directive.
4 * You can inject this service, typically in your root component, and customize
5 * the values of its properties in order to provide default values for all the
6 * popovers used in the application.
7 */
8export var PopoverConfig = (function () {
9 function PopoverConfig() {
10 /**
11 * Placement of a popover. Accepts: "top", "bottom", "left", "right"
12 */
13 this.placement = 'top';
14 /**
15 * Specifies events that should trigger. Supports a space separated list of
16 * event names.
17 */
18 this.triggers = 'click';
19 }
20 PopoverConfig.decorators = [
21 { type: Injectable },
22 ];
23 /** @nocollapse */
24 PopoverConfig.ctorParameters = function () { return []; };
25 return PopoverConfig;
26}());
27//# sourceMappingURL=popover.config.js.map
\No newline at end of file