@ipi-soft/ng-components
Version:
Custom Angular Components
17 lines (16 loc) • 557 B
TypeScript
import { HttpClient } from '@angular/common/http';
import { Observable } from 'rxjs';
import * as i0 from "@angular/core";
export declare class IpiImgService {
private http;
private document;
constructor(http: HttpClient, document: Document);
private svgs;
private svgsLoading;
defaultSvg: string;
loadImg(url: string): Observable<SVGElement> | string;
private getSvg;
private createSVG;
static ɵfac: i0.ɵɵFactoryDeclaration<IpiImgService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<IpiImgService>;
}