Getting Started
Writing content
API Documentation
Customization
Recipes
API References Develop
@ng-doc/core / Class

NgDocHtmlParser

No documentation has been provided.

Constructor

No documentation has been provided.

Presentation
constructor(
	private html: string
): NgDocHtmlParser;
Parameters
NameTypeDescription
html
string

Methods

fillAngularAttributes()

No documentation has been provided.

Presentation
fillAngularAttributes(element: NodeTag, properties: Record<string, string>): void;
Parameters
NameTypeDescription
element
NodeTag
properties
Record<string, string>
Returns
void

find()

No documentation has been provided.

Presentation
find(selector: string): NodeTag | undefined;
Parameters
NameTypeDescription
selector
string
Returns
NodeTag | undefined

removeAttribute()

No documentation has been provided.

Presentation
removeAttribute(node: Node, name: string): void;
Parameters
NameTypeDescription
node
Node
name
string
Returns
void

serialize()

No documentation has been provided.

Presentation
serialize(): string;
Returns
string

setAttribute()

No documentation has been provided.

Presentation
setAttribute(node: Node, name: string, value?: string | undefined): void;
Parameters
NameTypeDescription
node
Node
name
string
value
string | undefined
Returns
void

setAttributesFromSelectors()

No documentation has been provided.

Presentation
setAttributesFromSelectors(element: NodeTag, selectors: Selector[]): void;
Parameters
NameTypeDescription
element
NodeTag
selectors
Selector[]
Returns
void