UNPKG

1.38 kBSource Map (JSON)View Raw
1{"version":3,"file":"popover.config.js","sourceRoot":"","sources":["../../../../src/popover/popover.config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;;AAE3C;;;;;GAKG;AAIH,MAAM,OAAO,aAAa;IAH1B;QAIE,qCAAqC;QACrC,qBAAgB,GAAG,IAAI,CAAC;QACxB;;WAEG;QACH,cAAS,GAAG,KAAK,CAAC;QAClB;;;WAGG;QACH,aAAQ,GAAG,OAAO,CAAC;QAEnB,iBAAY,GAAG,KAAK,CAAC;QAKrB,uCAAuC;QACvC,UAAK,GAAG,CAAC,CAAC;KACX;;;;YAvBA,UAAU,SAAC;gBACV,UAAU,EAAE,MAAM;aACnB","sourcesContent":["import { Injectable } from '@angular/core';\n\n/**\n * Configuration service for the Popover directive.\n * You can inject this service, typically in your root component, and customize\n * the values of its properties in order to provide default values for all the\n * popovers used in the application.\n */\n@Injectable({\n providedIn: 'root'\n})\nexport class PopoverConfig {\n /** sets disable adaptive position */\n adaptivePosition = true;\n /**\n * Placement of a popover. Accepts: \"top\", \"bottom\", \"left\", \"right\", \"auto\"\n */\n placement = 'top';\n /**\n * Specifies events that should trigger. Supports a space separated list of\n * event names.\n */\n triggers = 'click';\n\n outsideClick = false;\n /**\n * A selector specifying the element the popover should be appended to.\n */\n container?: string;\n /** delay before showing the tooltip */\n delay = 0;\n}\n"]}
\No newline at end of file