Skip to main content
Module

x/html_rewriter/vendor/html_rewriter.js>Element

WASM-based implementation of Cloudflare's HTML Rewriter for use in Deno, browsers, etc.
Latest
class Element
import { Element } from "https://deno.land/x/html_rewriter@v0.1.0-pre.19/vendor/html_rewriter.js";

Properties

readonly
attributes
readonly
namespaceURI
readonly
removed
tagName

Methods

after(content, content_type)
append(content, content_type)
before(content, content_type)
onEndTag(handler)
prepend(content, content_type)
replace(content, content_type)
setAttribute(name, value)
setInnerContent(content, content_type)