Skip to main content
Module

x/lol_html/types.d.ts>Element

Low output latency streaming HTML parser/rewriter with CSS selector-based API in Deno, via Webassembly.
Go to Latest
class Element
import { Element } from "https://deno.land/x/lol_html@0.0.4/types.d.ts";

Properties

readonly
attributes: any
readonly
namespaceURI: any
readonly
removed: boolean
tagName: string

Methods

after(content: string, content_type?: any): void
append(content: string, content_type?: any): void
before(content: string, content_type?: any): void
free(): void
getAttribute(name: string): string | undefined
hasAttribute(name: string): boolean
prepend(content: string, content_type?: any): void
remove(): void
removeAttribute(name: string): void
replace(content: string, content_type?: any): void
setAttribute(name: string, value: string): void
setInnerContent(content: string, content_type?: any): void