Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DocumentHandlers

import type { DocumentHandlers } from "https://raw.githubusercontent.com/worker-tools/html-rewriter/master/index.ts";
interface DocumentHandlers {
comments?(comment: Comment): void | Promise<void>;
doctype?(doctype: Doctype): void | Promise<void>;
end?(end: DocumentEnd): void | Promise<void>;
text?(text: TextChunk): void | Promise<void>;
}

§Methods

§
comments?(comment: Comment): void | Promise<void>
[src]
§
doctype?(doctype: Doctype): void | Promise<void>
[src]
§
end?(end: DocumentEnd): void | Promise<void>
[src]
§
text?(text: TextChunk): void | Promise<void>
[src]