import { Element } from "https://deno.land/x/lean@0.0.6/lib/deps.ts";
Methods
after(content: string, options?: ContentTypeOptions): this
append(content: string, options?: ContentTypeOptions): this
before(content: string, options?: ContentTypeOptions): this
getAttribute(name: string): string | null
hasAttribute(name: string): boolean
onEndTag(handler: (this: this, endTag: EndTag) => void | Promise<void>): void
prepend(content: string, options?: ContentTypeOptions): this
remove(): this
removeAndKeepContent(): this
removeAttribute(name: string): this
replace(content: string, options?: ContentTypeOptions): this
setAttribute(name: string, value: string): this
setInnerContent(content: string, options?: ContentTypeOptions): this