import { type IElement } from "https://deno.land/x/gauntlet@v0.0.9/imports/happy_dom.ts";
Element.
Properties
Methods
Attribute changed callback.
Returns a boolean value indicating whether the specified element has the attribute or not.
Returns a boolean value indicating whether the specified element has the namespace attribute or not.
Attaches a shadow root.
Scrolls to a particular set of coordinates.
Scrolls to a particular set of coordinates.
Returns the size of an element and its position relative to the viewport.
The matches() method checks to see if the Element would be selected by the provided selectorString.
The setAttributeNode() method adds a new Attr node to the specified element.
The setAttributeNodeNS() method adds a new Attr node to the specified element.
Clones a node.
Inserts a node to the given position.
Inserts an HTML string to the given position.