class HTMLElement
implements IHTMLElement
extends Element
Re-export
import { HTMLElement } from "https://deno.land/x/gauntlet@v0.0.9/imports/happy_dom.ts";
HTML Element.
Reference: https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
Properties
readonly
style: CSSStyleDeclarationReturns style.
Methods
blur(): void
Triggers a blur event.
click(): void
Triggers a click event.
cloneNode(deep?: boolean): IHTMLElement
Clones a node.
focus(): void
Triggers a focus event.
removeAttributeNode(attribute: Attr): void
Removes an Attr node.
setAttributeNode(attribute: Attr): Attr
The setAttributeNode() method adds a new Attr node to the specified element.