Skip to content
@ng-doc/app / Interface

NgDocPageProcessor

Interface to create a processor that will be used to replace html nodes with an Angular component.

Generic types
T
DeclarationTypeScript
export interface NgDocPageProcessor<T = unknown> { … }

Members

Properties

4
component: Type<T>

Target component to replace html nodes with.

extractOptions: (element: Element, root: HTMLElement) => NgDocProcessorOptions<T, keyof T>

Extract options for Angular component from html node.

nodeToReplace?: ((element: Element, injector: Injector) => Element) | undefined

Can be used to find a node to replace instead of the node that was found by selector.

selector: string

Selector to find html nodes to replace.

Symbol
Kind
Interface
Generic types
T
Scope
@ng-doc/app
Edit this page