class Element
extends Node
Re-export
import { Element } from "https://deno.land/x/lume@v1.19.1/deps/dom.ts";
Constructors
Properties
attributes: NamedNodeMap
readonly
children: HTMLCollectionreadonly
classList: DOMTokenListreadonly
firstElementChild: Element | nullreadonly
lastElementChild: Element | nullreadonly
nextElementSibling: Element | nullreadonly
previousElementSibling: Element | nullMethods
_getElementsByTagName(tagName: string, search: Node[]): Node[]
_getElementsByTagNameWildcard(search: Node[]): Node[]
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
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/lume@v1.19.1/deps/dom.ts";
definition: ConstructibleElement
import { Element } from "https://deno.land/x/lume@v1.19.1/deps/dom.ts";