import { Element } from "https://deno.land/x/packup@v0.2.2/deps.ts";
Methods
_getElementsByTagName(tagName: string, search: Node[]): Node[]
_getElementsByTagNameWildcard(search: Node[]): Node[]
_shallowClone(): Node
after(...nodes: (Node | string)[])
append(...nodes: (Node | string)[])
before(...nodes: (Node | string)[])
getAttribute(name: string): string | null
getAttributeNames(): string[]
getElementById(id: string): Element | null
getElementsByClassName(className: string): Element[]
getElementsByTagName(tagName: string): Element[]
getElementsByTagNameNS(_namespace: string, localName: string): Element[]
hasAttribute(name: string): boolean
hasAttributeNS(_namespace: string, name: string): boolean
matches(selectorString: string): boolean
prepend(...nodes: (Node | string)[])
querySelector(selectors: string): Element | null
querySelectorAll(selectors: string): NodeList
remove()
removeAttribute(rawName: string)
replaceWith(...nodes: (Node | string)[])
setAttribute(rawName: string, value: any)
import { type Element } from "https://deno.land/x/packup@v0.2.2/deps.ts";
import { Element } from "https://deno.land/x/packup@v0.2.2/deps.ts";