ngx-d3-wrapper
Version:
A D3 service for Angular applications
29 lines (25 loc) • 945 B
JavaScript
import * as i0 from '@angular/core';
import { Injectable } from '@angular/core';
import * as d3 from 'd3';
export { Delaunay, FormatSpecifier, ZoomTransform } from 'd3';
/**
* D3 service.
*/
class NgxD3Service {
getD3() {
return d3;
}
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: NgxD3Service, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: NgxD3Service, providedIn: 'root' });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: NgxD3Service, decorators: [{
type: Injectable,
args: [{
providedIn: 'root'
}]
}] });
/**
* Generated bundle index. Do not edit.
*/
export { NgxD3Service };
//# sourceMappingURL=ngx-d3-wrapper.mjs.map