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

Comment

import { Comment } from "https://raw.githubusercontent.com/worker-tools/html-rewriter/master/index.ts";
class Comment {
readonly removed: boolean;
text: string;
 
after(content: string, options?: ContentTypeOptions): this;
before(content: string, options?: ContentTypeOptions): this;
remove(): this;
replace(content: string, options?: ContentTypeOptions): this;
}

§Properties

§
removed: boolean
[src]
§
text: string
[src]

§Methods

§
after(content: string, options?: ContentTypeOptions): this
[src]
§
before(content: string, options?: ContentTypeOptions): this
[src]
§
remove(): this
[src]
§
replace(content: string, options?: ContentTypeOptions): this
[src]