UNPKG

@docgeni/template

Version:

Docgeni - Angular Template Components

18 lines 956 B
import { HttpClient } from '@angular/common/http'; import { EventEmitter } from '@angular/core'; import * as i0 from "@angular/core"; export declare abstract class ContentRenderer { protected http: HttpClient; private documentFetchSubscription; set url(value: string); set content(value: string); contentRendered: EventEmitter<HTMLElement>; abstract updateDocument(content: string): void; abstract showError(url: string, error: Error): void; constructor(http: HttpClient); protected fetchDocument(url: string): void; protected destroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<ContentRenderer, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<ContentRenderer, never, never, { "url": { "alias": "url"; "required": false; }; "content": { "alias": "content"; "required": false; }; }, { "contentRendered": "contentRendered"; }, never, never, true, never>; } //# sourceMappingURL=content-renderer.d.ts.map