Interface HTMLRewriterElementContentHandlers
interface HTMLRewriterElementContentHandlers { comments?(comment): void | Promise<void>; element?(element): void | Promise<void>; text?(element): void | Promise<void>; } Methods
Optional
comments
- comments(comment): void | Promise<void>
Returns void | Promise<void>
Optional
element
- element(element): void | Promise<void>
Returns void | Promise<void>
Optional
text
- text(element): void | Promise<void>
Returns void | Promise<void>