UNPKG

ng2-bootstrap

Version:
29 lines (28 loc) 913 B
"use strict"; var core_1 = require('@angular/core'); /** * Configuration service for the Popover directive. * You can inject this service, typically in your root component, and customize * the values of its properties in order to provide default values for all the * popovers used in the application. */ var PopoverConfig = (function () { function PopoverConfig() { /** * Placement of a popover. Accepts: "top", "bottom", "left", "right" */ this.placement = 'top'; /** * Specifies events that should trigger. Supports a space separated list of * event names. */ this.triggers = 'click'; } PopoverConfig.decorators = [ { type: core_1.Injectable }, ]; /** @nocollapse */ PopoverConfig.ctorParameters = function () { return []; }; return PopoverConfig; }()); exports.PopoverConfig = PopoverConfig;