NgDocPageProcessorComponent
Renders HTML into its host element and replaces the nodes that the page processors (, ) select with Angular components.
Each change of the HTML or of contentVersion destroys the components of the previous pass and schedules a new pass for the next microtask, after the HTML is in the DOM. A pass that a newer change superseded, or that ends after the component is destroyed, emits nothing.
- Decorators
@Component - Selectors
[ngDocPageProcessor ]
@Component ({ … })
export class NgDocPageProcessorComponent { … }Members
Constructor1 | |
() | — |
Signature | |
Properties13 | |
afterRender: | Emits after a pass has created its components and rendered them. |
applicationRef: | — |
contentProcessed: | Emits the version of each pass that completed. |
contentVersion: | Version of the HTML. A new version processes the HTML again, even when it is unchanged. |
customProcessors: | — |
elementRef: | — |
errorHandler: | — |
html: | The HTML to render and process. |
injector: | — |
processingError: | Emits the version and the error of a pass that a processor failed. Without a listener, the error goes to the |
processors: | — |
renderer: | — |
viewContainerRef: | — |