Path: blob/main/website/awaited-dom/HTMLButtonElement.md
1028 views
AwaitedDOM / HTMLButtonElement
HTMLButtonElement
interface provides properties and methods (beyond the regular HTMLElement
interface it also has available to it by inheritance) for manipulating <button>
elements.Properties
elem.autofocus W3C {#autofocus}
Is a boolean
indicating whether or not the control should have input focus when the page loads, unless the user overrides it, for example by typing in a different control. Only one form-associated element in a document can have this attribute specified.
Type: Promise<boolean>
elem.disabled W3C {#disabled}
Is a boolean
indicating whether or not the control is disabled, meaning that it does not accept any clicks.
Type: Promise<boolean>
elem.form W3C {#form}
Is a HTMLFormElement
reflecting the form that this button is associated with. If the button is a descendant of a form element, then this attribute is the ID of that form element.
If the button is not a descendant of a form element, then the attribute can be the ID of any form element in the same document it is related to, or the null
value if none matches.
Type: HTMLFormElement
elem.formAction W3C {#formAction}
Is a string
reflecting the URI of a resource that processes information submitted by the button. If specified, this attribute overrides the action
attribute of the <form>
element that owns this element.
Type: Promise<string>
elem.formEnctype W3C {#formEnctype}
Is a string
reflecting the type of content that is used to submit the form to the server. If specified, this attribute overrides the enctype
attribute of the <form>
element that owns this element.
Type: Promise<string>
elem.formMethod W3C {#formMethod}
Is a string
reflecting the HTTP method that the browser uses to submit the form. If specified, this attribute overrides the method
attribute of the <form>
element that owns this element.
Type: Promise<string>
elem.formNoValidate W3C {#formNoValidate}
Is a boolean
indicating that the form is not to be validated when it is submitted. If specified, this attribute overrides the novalidate
attribute of the <form>
element that owns this element.
Type: Promise<boolean>
elem.formTarget W3C {#formTarget}
Is a string
reflecting a name or keyword indicating where to display the response that is received after submitting the form. If specified, this attribute overrides the target
attribute of the <form>
element that owns this element.
Type: Promise<string>
elem.labels W3C {#labels}
Is a NodeList
that represents a list of <label>
elements that are labels for this button.
Type: SuperNodeList
elem.name W3C {#name}
Is a string
representing the name of the object when submitted with a form. HTML5 If specified, it must not be the empty string.
Type: Promise<string>
elem.type W3C {#type}
Is a string
indicating the behavior of the button. This is an enumerated attribute with the following possible values:
"submit"
: The button submits the form. This is the default value if the attribute is not specified, HTML5 or if it is dynamically changed to an empty or invalid value."reset"
: The button resets the form."button"
: The button does nothing."menu"
: The button displays a menu.
Type: Promise<string>
elem.validationMessage W3C {#validationMessage}
Is a string
representing the localized message that describes the validation constraints that the control does not satisfy (if any). This attribute is the empty string if the control is not a candidate for constraint validation (willValidate
is false
), or it satisfies its constraints.
Type: Promise<string>
elem.validity W3C {#validity}
Is a ValidityState
representing the validity states that this button is in.
Type: Promise<ValidityState>
elem.value W3C {#value}
Is a string
representing the current form control value of the button.
Type: Promise<string>
elem.willValidate W3C {#willValidate}
Is a boolean
indicating whether the button is a candidate for constraint validation. It is false
if any conditions bar it from constraint validation, including: its type
property is reset
or button
; it has a datalist ancestor; or the disabled
property is set to true
.
Type: Promise<boolean>
elem.accessKey W3C {#accessKey}
Is a string
representing the access key assigned to the element.
Type: Promise<string>
elem.autoCapitalize W3C {#autoCapitalize}
Needs content.
Type: Promise<string>
elem.dir W3C {#dir}
Is a string
, reflecting the dir
global attribute, representing the directionality of the element. Possible values are "ltr"
, "rtl"
, and "auto"
.
Type: Promise<string>
elem.draggable W3C {#draggable}
Is a boolean
indicating if the element can be dragged.
Type: Promise<boolean>
elem.hidden W3C {#hidden}
Is a boolean
indicating if the element is hidden or not.
Type: Promise<boolean>
elem.inert W3C {#inert}
Is a boolean
indicating whether the user agent must act as though the given node is absent for the purposes of user interaction events, in-page text searches ("find in page"), and text selection.
Type: Promise<boolean>
elem.innerText W3C {#innerText}
Represents the "rendered" text content of a node and its descendants. As a getter, it approximates the text the user would get if they highlighted the contents of the element with the cursor and then copied it to the clipboard.
Type: Promise<string>
elem.lang W3C {#lang}
Is a string
representing the language of an element's attributes, text, and element contents.
Type: Promise<string>
elem.offsetHeight W3C {#offsetHeight}
Returns a double
containing the height of an element, relative to the layout.
Type: Promise<number>
elem.offsetLeft W3C {#offsetLeft}
Returns a double
, the distance from this element's left border to its offsetParent
's left border.
Type: Promise<number>
elem.offsetParent W3C {#offsetParent}
Returns a Element
that is the element from which all offset calculations are currently computed.
Type: SuperElement
elem.offsetTop W3C {#offsetTop}
Returns a double
, the distance from this element's top border to its offsetParent
's top border.
Type: Promise<number>
elem.offsetWidth W3C {#offsetWidth}
Returns a double
containing the width of an element, relative to the layout.
Type: Promise<number>
elem.spellcheck W3C {#spellcheck}
Is a boolean
that controls spell-checking. It is present on all HTML elements, though it doesn't have an effect on all of them.
Type: Promise<boolean>
elem.title W3C {#title}
Is a string
containing the text that appears in a popup box when mouse is over the element.
Type: Promise<string>
elem.translate W3C {#translate}
Is a boolean
representing the translation.
Type: Promise<boolean>
elem.attributes W3C {#attributes}
Returns a NamedNodeMap
object containing the assigned attributes of the corresponding HTML element.
Type: NamedNodeMap
elem.classList W3C {#classList}
Returns a DOMTokenList
containing the list of class attributes.
Type: DOMTokenList
elem.className W3C {#className}
Is a string
representing the class of the element.
Type: Promise<string>
elem.clientHeight W3C {#clientHeight}
Returns a number
representing the inner height of the element.
Type: Promise<number>
elem.clientLeft W3C {#clientLeft}
Returns a number
representing the width of the left border of the element.
Type: Promise<number>
elem.clientTop W3C {#clientTop}
Returns a number
representing the width of the top border of the element.
Type: Promise<number>
elem.clientWidth W3C {#clientWidth}
Returns a number
representing the inner width of the element.
Type: Promise<number>
elem.id W3C {#id}
Is a string
representing the id of the element.
Type: Promise<string>
elem.innerHTML W3C {#innerHTML}
Is a string
representing the markup of the element's content.
Type: Promise<string>
elem.localName W3C {#localName}
A string
representing the local part of the qualified name of the element.
Type: Promise<string>
elem.namespaceURI W3C {#namespaceURI}
The namespace URI of the element, or null
if it is no namespace.
Note: In Firefox 3.5 and earlier, HTML elements are in no namespace. In later versions, HTML elements are in the http://www.w3.org/1999/xhtml
namespace in both HTML and XML trees.
Type: Promise<string>
elem.outerHTML W3C {#outerHTML}
Is a string
representing the markup of the element including its content. When used as a setter, replaces the element with nodes parsed from the given string.
Type: Promise<string>
elem.part W3C {#part}
Represents the part identifier(s) of the element (i.e. set using the part
attribute), returned as a DOMTokenList
.
Type: DOMTokenList
elem.prefix W3C {#prefix}
A string
representing the namespace prefix of the element, or null
if no prefix is specified.
Type: Promise<string>
elem.scrollHeight W3C {#scrollHeight}
Returns a number
representing the scroll view height of an element.
Type: Promise<number>
elem.scrollLeft W3C {#scrollLeft}
Is a number
representing the left scroll offset of the element.
Type: Promise<number>
elem.scrollTop W3C {#scrollTop}
A number
representing number of pixels the top of the document is scrolled vertically.
Type: Promise<number>
elem.scrollWidth W3C {#scrollWidth}
Returns a number
representing the scroll view width of the element.
Type: Promise<number>
elem.shadowRoot W3C {#shadowRoot}
Returns the open shadow root that is hosted by the element, or null if no open shadow root is present.
Type: ShadowRoot
elem.slot W3C {#slot}
Returns the name of the shadow DOM slot the element is inserted in.
Type: Promise<string>
elem.tagName W3C {#tagName}
Returns a String
with the name of the tag for the given element.
Type: Promise<string>
elem.baseURI W3C {#baseURI}
Returns a string
representing the base URL of the document containing the Node
.
Type: Promise<string>
elem.childNodes W3C {#childNodes}
Returns a live NodeList
containing all the children of this node. NodeList
being live means that if the children of the Node
change, the NodeList
object is automatically updated.
Type: SuperNodeList
elem.firstChild W3C {#firstChild}
Returns a Node
representing the first direct child node of the node, or null
if the node has no child.
Type: SuperNode
elem.isConnected W3C {#isConnected}
A boolean indicating whether or not the Node is connected (directly or indirectly) to the context object, e.g. the Document
object in the case of the normal DOM, or the ShadowRoot
in the case of a shadow DOM.
Type: Promise<boolean>
elem.lastChild W3C {#lastChild}
Returns a Node
representing the last direct child node of the node, or null
if the node has no child.
Type: SuperNode
elem.nextSibling W3C {#nextSibling}
Returns a Node
representing the next node in the tree, or null
if there isn't such node.
Type: SuperNode
elem.nodeName W3C {#nodeName}
Returns a string
containing the name of the Node
. The structure of the name will differ with the node type. E.g. An HTMLElement
will contain the name of the corresponding tag, like 'audio'
for an HTMLAudioElement
, a Text
node will have the '#text'
string, or a Document
node will have the '#document'
string.
Type: Promise<string>
elem.nodeType W3C {#nodeType}
Returns an unsigned short
representing the type of the node. Possible values are:
Name Value ELEMENT_NODE
1
ATTRIBUTE_NODE
2
TEXT_NODE
3
CDATA_SECTION_NODE
4
ENTITY_REFERENCE_NODE
5
ENTITY_NODE
6
PROCESSING_INSTRUCTION_NODE
7
COMMENT_NODE
8
DOCUMENT_NODE
9
DOCUMENT_TYPE_NODE
10
DOCUMENT_FRAGMENT_NODE
11
NOTATION_NODE
12
Type: Promise<number>
elem.nodeValue W3C {#nodeValue}
Returns / Sets the value of the current node.
Type: Promise<string>
elem.ownerDocument W3C {#ownerDocument}
Returns the Document
that this node belongs to. If the node is itself a document, returns null
.
Type: SuperDocument
elem.parentElement W3C {#parentElement}
Returns an Element
that is the parent of this node. If the node has no parent, or if that parent is not an Element
, this property returns null
.
Type: SuperElement
elem.parentNode W3C {#parentNode}
Returns a Node
that is the parent of this node. If there is no such node, like if this node is the top of the tree or if doesn't participate in a tree, this property returns null
.
Type: SuperNode
elem.previousSibling W3C {#previousSibling}
Returns a Node
representing the previous node in the tree, or null
if there isn't such node.
Type: SuperNode
elem.textContent W3C {#textContent}
Returns / Sets the textual content of an element and all its descendants.
Type: Promise<string>
elem.style W3C {#style}
The style
property is used to get as well as set the inline style of an element. When getting, it returns a CSSStyleDeclaration
object that contains a list of all styles properties for that element with values assigned for the attributes that are defined in the element's inline style
attribute.
Type: CSSStyleDeclaration
elem.contentEditable W3C {#contentEditable}
Needs content.
Type: Promise<string>
elem.isContentEditable W3C {#isContentEditable}
Needs content.
Type: Promise<boolean>
elem.dataset W3C {#dataset}
Needs content.
Type: Promise<Record<string, string>>
elem.nonce W3C {#nonce}
Needs content.
Type: Promise<string>
elem.tabIndex W3C {#tabIndex}
Needs content.
Type: Promise<number>
elem.nextElementSibling W3C {#nextElementSibling}
Returns the Element
immediately following this node in its parent's children list, or null
if there is no Element
in the list following this node.
Type: SuperElement
elem.previousElementSibling W3C {#previousElementSibling}
Returns the Element
immediately prior to this node in its parent's children list, or null
if there is no Element
in the list prior to this node.
Type: SuperElement
elem.childElementCount W3C {#childElementCount}
Returns the number of children of this ParentNode
which are elements.
Type: Promise<number>
elem.children W3C {#children}
Returns a live HTMLCollection
containing all of the Element
objects that are children of this ParentNode
, omitting all of its non-element nodes.
Type: SuperHTMLCollection
elem.firstElementChild W3C {#firstElementChild}
Returns the first node which is both a child of this ParentNode
and is also an Element
, or null
if there is none.
Type: SuperElement
elem.lastElementChild W3C {#lastElementChild}
Returns the last node which is both a child of this ParentNode
and is an Element
, or null
if there is none.
Type: SuperElement
elem.assignedSlot W3C {#assignedSlot}
Returns the <slot>
the node is inserted in.
Type: HTMLSlotElement
Methods
elem.checkValidity*()* W3C {#checkValidity}
Not supported for reset or button elements.
Returns: Promise<boolean>
elem.reportValidity*()* W3C {#reportValidity}
Not supported for reset or button elements.
Returns: Promise<boolean>
elem.click*()* W3C {#click}
Sends a mouse click event to the element.
Returns: Promise<void>
elem.closest*(selectors)* W3C {#closest}
Returns the Element
which is the closest ancestor of the current element (or the current element itself) which matches the selectors given in parameter.
Arguments:
selectors
string
.selectors
is astring
containing a selector list.
ex:p:hover, .toto + q
Returns: SuperElement
elem.getAttribute*(qualifiedName)* W3C {#getAttribute}
Retrieves the value of the named attribute from the current node and returns it as an Object
.
Arguments:
qualifiedName
string
.attributeName
is the name of the attribute whose value you want to get.
Returns: Promise<string>
elem.getAttributeNames*()* W3C {#getAttributeNames}
Returns an array of attribute names from the current element.
Returns: Promise<Iterable,string>
elem.getAttributeNode*(qualifiedName)* W3C {#getAttributeNode}
Retrieves the node representation of the named attribute from the current node and returns it as an Attr
.
Arguments:
qualifiedName
string
.attrName
is a string containing the name of the attribute.
Returns: Promise<Attr>
elem.getAttributeNodeNS*(namespace, localName)* W3C {#getAttributeNodeNS}
Retrieves the node representation of the attribute with the specified name and namespace, from the current node and returns it as an Attr
.
Arguments:
namespace
string
.namespace
is a string specifying the namespace of the attribute.localName
string
.nodeName
is a string specifying the name of the attribute.
Returns: Promise<Attr>
elem.getAttributeNS*(namespace, localName)* W3C {#getAttributeNS}
Retrieves the value of the attribute with the specified name and namespace, from the current node and returns it as an Object
.
Arguments:
namespace
string
. The namespace in which to look for the specified attribute.localName
string
. The name of the attribute to look for.
Returns: Promise<string>
elem.getBoundingClientRect*()* W3C {#getBoundingClientRect}
Returns the size of an element and its position relative to the viewport.
Returns: Promise<DOMRect>
elem.getClientRects*()* W3C {#getClientRects}
Returns a collection of rectangles that indicate the bounding rectangles for each line of text in a client.
Returns: Promise<DOMRectList>
elem.getElementsByClassName*(classNames)* W3C {#getElementsByClassName}
Returns a live HTMLCollection
that contains all descendants of the current element that possess the list of classes given in the parameter.
Arguments:
classNames
string
. Astring
containing one or more class names to match on, separated by whitespace.
Returns: SuperHTMLCollection
elem.getElementsByTagName*(qualifiedName)* W3C {#getElementsByTagName}
Returns a live HTMLCollection
containing all descendant elements, of a particular tag name, from the current element.
Arguments:
qualifiedName
string
.tagName
is the qualified name to look for. The special string"*"
represents all elements. For compatibility with XHTML, lower-case should be used.
Returns: SuperHTMLCollection
elem.getElementsByTagNameNS*(namespace, localName)* W3C {#getElementsByTagNameNS}
Returns a live HTMLCollection
containing all descendant elements, of a particular tag name and namespace, from the current element.
Arguments:
namespace
string
.namespaceURI
is the namespace URI of elements to look for (seeElement.namespaceURI
andAttr.namespaceURI
). For example, if you need to look for XHTML elements, use the XHTML namespace URI,http://www.w3.org/1999/xhtml
.localName
string
.localName
is either the local name of elements to look for or the special value"*"
, which matches all elements (seeElement.localName
andAttr.localName
).
Returns: SuperHTMLCollection
elem.hasAttribute*(qualifiedName)* W3C {#hasAttribute}
Returns a boolean
indicating if the element has the specified attribute or not.
Arguments:
qualifiedName
string
. is a string representing the name of the attribute.
Returns: Promise<boolean>
elem.hasAttributeNS*(namespace, localName)* W3C {#hasAttributeNS}
Returns a boolean
indicating if the element has the specified attribute, in the specified namespace, or not.
Arguments:
namespace
string
.namespace
is a string specifying the namespace of the attribute.localName
string
.localName
is the name of the attribute.
Returns: Promise<boolean>
elem.hasAttributes*()* W3C {#hasAttributes}
Returns a boolean
indicating if the element has one or more HTML attributes present.
Returns: Promise<boolean>
elem.hasPointerCapture*(pointerId)* W3C {#hasPointerCapture}
Indicates whether the element on which it is invoked has pointer capture for the pointer identified by the given pointer ID.
Arguments:
pointerId
number
. ThepointerId
of aPointerEvent
object.
Returns: Promise<boolean>
elem.matches*(selectors)* W3C {#matches}
Returns a boolean
indicating whether or not the element would be selected by the specified selector string.
Arguments:
selectors
string
.selectorString
is a string representing the selector to test.
Returns: Promise<boolean>
elem.requestFullscreen*(options?)* W3C {#requestFullscreen}
Asynchronously asks the browser to make the element full-screen.
Arguments:
options
FullscreenOptions
. AFullscreenOptions
object providing options that control the behavior of the transition to full-screen mode. Currently, the only option isnavigationUI
, which controls whether or not to show navigation UI while the element is in full-screen mode. The default value is"auto"
, which indicates that the browser should decide what to do.
Returns: Promise<void>
elem.requestPointerLock*()* W3C {#requestPointerLock}
Allows to asynchronously ask for the pointer to be locked on the given element.
Returns: Promise<void>
elem.scrollIntoView*(arg?)* W3C {#scrollIntoView}
Scrolls the page until the element gets into the view.
Arguments:
arg
boolean | ScrollIntoViewOptions
Is a
boolean
value:- If
true
, the top of the element will be aligned to the top of the visible area of the scrollable ancestor. Corresponds toscrollIntoViewOptions: {block: "start", inline: "nearest"}
. This is the default value. - If
false
, the bottom of the element will be aligned to the bottom of the visible area of the scrollable ancestor. Corresponds toscrollIntoViewOptions: {block: "end", inline: "nearest"}
.
- If
Is an Object with the following properties:
behavior
Optional- Defines the transition animation.
One ofauto
orsmooth
. Defaults toauto
. block
Optional- Defines vertical alignment.
One ofstart
,center
,end
, ornearest
. Defaults tostart
. inline
Optional- Defines horizontal alignment.
One ofstart
,center
,end
, ornearest
. Defaults tonearest
.
Returns: Promise<void>
elem.compareDocumentPosition*(other)* W3C {#compareDocumentPosition}
Compares the position of the current node against another node in any other document.
Arguments:
other
Node
. The otherNode
with which to compare the firstnode
’s document position.
Returns: Promise<number>
elem.contains*(other)* W3C {#contains}
Returns a boolean
value indicating whether or not a node is a descendant of the calling node.
Arguments:
other
Node
. Needs content.
Returns: Promise<boolean>
elem.getRootNode*(options?)* W3C {#getRootNode}
Returns the context object's root which optionally includes the shadow root if it is available.
Arguments:
options
GetRootNodeOptions
. An object that sets options for getting the root node. The available options are:composed
: A `boolean` that indicates whether the shadow root should be returned (false
, the default), or a root node beyond shadow root (true
).
Returns: SuperNode
elem.hasChildNodes*()* W3C {#hasChildNodes}
Returns a boolean
indicating whether or not the element has any child nodes.
Returns: Promise<boolean>
elem.isDefaultNamespace*(namespace)* W3C {#isDefaultNamespace}
Accepts a namespace URI as an argument and returns a boolean
with a value of true
if the namespace is the default namespace on the given node or false
if not.
Arguments:
namespace
string
.namespaceURI
is a string representing the namespace against which the element will be checked.
Returns: Promise<boolean>
elem.isEqualNode*(otherNode)* W3C {#isEqualNode}
Returns a boolean
which indicates whether or not two nodes are of the same type and all their defining data points match.
Arguments:
otherNode
Node
.otherNode
: TheNode
to compare equality with.
Returns: Promise<boolean>
elem.isSameNode*(otherNode)* W3C {#isSameNode}
Returns a boolean
value indicating whether or not the two nodes are the same (that is, they reference the same object).
Arguments:
otherNode
Node
.otherNode
TheNode
to test against.
Returns: Promise<boolean>
elem.lookupNamespaceURI*(prefix)* W3C {#lookupNamespaceURI}
Accepts a prefix and returns the namespace URI associated with it on the given node if found (and null
if not). Supplying null
for the prefix will return the default namespace.
Arguments:
prefix
string
. The prefix to look for. If this parameter isnull
, the method will return the default namespace URI, if any.
Returns: Promise<string>
elem.lookupPrefix*(namespace)* W3C {#lookupPrefix}
Returns a string
containing the prefix for a given namespace URI, if present, and null
if not. When multiple prefixes are possible, the result is implementation-dependent.
Arguments:
namespace
string
. Needs content.
Returns: Promise<string>
elem.normalize*()* W3C {#normalize}
Clean up all the text nodes under this element (merge adjacent, remove empty).
Returns: Promise<void>
elem.blur*()* W3C {#blur}
Needs content.
Returns: Promise<void>
elem.focus*()* W3C {#focus}
Needs content.
Returns: Promise<void>
elem.querySelector*(selectors)* W3C {#querySelector}
Returns the first Element
with the current element as root that matches the specified group of selectors.
Arguments:
selectors
string
. Astring
containing one or more selectors to match against. This string must be a valid compound selector list supported by the browser; if it's not, aSyntaxError
exception is thrown. See Locating DOM elements using selectors for more information about using selectors to identify elements. Multiple selectors may be specified by separating them using commas.
Returns: SuperElement
elem.querySelectorAll*(selectors)* W3C {#querySelectorAll}
Returns a NodeList
representing a list of elements with the current element as root that matches the specified group of selectors.
Arguments:
selectors
string
. Astring
containing one or more selectors to match against. This string must be a valid CSS selector string; if it's not, aSyntaxError
exception is thrown. See Locating DOM elements using selectors for more information about using selectors to identify elements. Multiple selectors may be specified by separating them using commas.
Returns: SuperNodeList
Unimplemented Specs
Properties
onfullscreenchange | onfullscreenerror |
oncopy | oncut |
onpaste | onabort |
onanimationend | onanimationiteration |
onanimationstart | onauxclick |
onblur | oncancel |
oncanplay | oncanplaythrough |
onchange | onclick |
onclose | oncontextmenu |
oncuechange | ondblclick |
ondrag | ondragend |
ondragenter | ondragleave |
ondragover | ondragstart |
ondrop | ondurationchange |
onemptied | onended |
onerror | onfocus |
onformdata | ongotpointercapture |
oninput | oninvalid |
onkeydown | onkeypress |
onkeyup | onload |
onloadeddata | onloadedmetadata |
onloadstart | onlostpointercapture |
onmousedown | onmouseenter |
onmouseleave | onmousemove |
onmouseout | onmouseover |
onmouseup | onpause |
onplay | onplaying |
onpointercancel | onpointerdown |
onpointerenter | onpointerleave |
onpointermove | onpointerout |
onpointerover | onpointerup |
onprogress | onratechange |
onreset | onresize |
onscroll | onseeked |
onseeking | onselect |
onselectionchange | onselectstart |
onstalled | onsubmit |
onsuspend | ontimeupdate |
ontouchcancel | ontouchend |
ontouchmove | ontouchstart |
ontransitionend | onvolumechange |
onwaiting | onwheel |
Methods
setCustomValidity() | attachShadow() |
computedStyleMap() | insertAdjacentElement() |
insertAdjacentHTML() | insertAdjacentText() |
releasePointerCapture() | removeAttribute() |
removeAttributeNode() | removeAttributeNS() |
scroll() | scrollBy() |
scrollTo() | setAttribute() |
setAttributeNode() | setAttributeNodeNS() |
setAttributeNS() | setPointerCapture() |
toggleAttribute() | appendChild() |
cloneNode() | insertBefore() |
removeChild() | replaceChild() |
addEventListener() | dispatchEvent() |
removeEventListener() | animate() |
getAnimations() | after() |
before() | remove() |
replaceWith() | append() |
prepend() |