Interface IHtmlParserContext
interface IHtmlParserContext { $: CheerioAPI; $node: Cheerio<any>; getContent( $node: Cheerio<any>, preserveTag?: boolean, ): { comments?: string[]; html?: string };} Properties
Methods
getContent
- getContent(
$node: Cheerio<any>,
preserveTag?: boolean,
): { comments?: string[]; html?: string } Parameters
- $node: Cheerio<any>
Optional
preserveTag: boolean
Returns { comments?: string[]; html?: string }