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