UNPKG

@ng-doc/app

Version:

<!-- PROJECT LOGO --> <br /> <div align="center"> <a href="https://github.com/ng-doc/ng-doc"> <img src="https://ng-doc.com/assets/images/ng-doc.svg?raw=true" alt="Logo" height="150px"> </a>

24 lines (23 loc) 1.31 kB
import { ApplicationRef, ElementRef, EventEmitter, Injector, OnChanges, Renderer2, SimpleChanges, ViewContainerRef } from '@angular/core'; import { SafeHtml } from '@angular/platform-browser'; import { NgDocPageProcessor } from '@ng-doc/app/interfaces'; import * as i0 from "@angular/core"; /** * Base processor class to create a processor directive that will be used to replace * html nodes with an Angular component. */ export declare class NgDocPageProcessorComponent implements OnChanges { html: SafeHtml; afterRender: EventEmitter<void>; processors: Array<NgDocPageProcessor<unknown>>; customProcessors: Array<NgDocPageProcessor<unknown>>; protected readonly elementRef: ElementRef<HTMLElement>; protected readonly viewContainerRef: ViewContainerRef; protected readonly applicationRef: ApplicationRef; protected readonly injector: Injector; protected readonly renderer: Renderer2; ngOnChanges({ html }: SimpleChanges): void; private process; static ɵfac: i0.ɵɵFactoryDeclaration<NgDocPageProcessorComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<NgDocPageProcessorComponent, "[ngDocPageProcessor]", never, { "html": { "alias": "ngDocPageProcessor"; "required": true; }; }, { "afterRender": "afterRender"; }, never, ["*"], true, never>; }