angular-billboard
Version:
billboard.js for Angular
1 lines • 1.3 kB
JavaScript
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core")):"function"==typeof define&&define.amd?define(["exports","@angular/core"],r):r((e.ng=e.ng||{},e.ng.angularBillboard=e.ng.angularBillboard||{}),e.ng.core)}(this,function(e,r){"use strict";var t=function(){function e(e,r){this.renderer=e,this.elementRef=r,this.el=r.nativeElement}return e.prototype.ngOnInit=function(){this.renderer.appendChild(this.el,this.chart.element)},e}();t.decorators=[{type:r.Component,args:[{selector:"angular-billboard",template:"\x3c!-- angular-billboard-chart --\x3e"}]}],t.ctorParameters=function(){return[{type:r.Renderer2},{type:r.ElementRef}]},t.propDecorators={chart:[{type:r.Input}]};var n=require("billboard.js").bb,o=function(){function e(){}return e.prototype.generate=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return e.map(function(e){return n.generate(e)})},e}();o.decorators=[{type:r.Injectable}],o.ctorParameters=function(){return[]};var a=function(){return function(){}}();a.decorators=[{type:r.NgModule,args:[{declarations:[t],providers:[o],exports:[t]}]}],a.ctorParameters=function(){return[]},e.AngularBillboardModule=a,e.AngularBillboardComponent=t,e.AngularBillboardService=o,Object.defineProperty(e,"__esModule",{value:!0})});