Extends: HTMLElement
See: https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement
- HTMLFormElement
- .elements
- .dataset
- .nodeName :
string - .localName :
string - .tagName :
string - .nodeType :
number - .namespaceURI :
string - .id :
string - .tabIndex :
number - .className :
string - .attributes :
NamedNodeMap - .style :
Style - .clientLeft :
number - .clientTop :
number - .clientWidth :
number - .clientHeight :
number - .height :
string|Number - .width :
string|Number - .offsetParent :
Element - .offsetLeft :
number - .offsetTop :
number - .offsetWidth :
number - .offsetHeight :
number - .scrollLeft :
number - .scrollTop :
number - .scrollWidth :
number - .scrollHeight :
number - .uxpContainer :
UXPContainer - .disabled :
boolean - .innerHTML :
string - .outerHTML :
string - .contentEditable
- .isConnected :
boolean - .parentNode :
Node - .parentElement :
Element - .firstChild :
Node - .lastChild :
Node - .previousSibling :
Node - .nextSibling :
Node - .firstElementChild :
Node - .lastElementChild :
Node - .previousElementSibling :
Node - .nextElementSibling :
Node - .textContent :
string - .childNodes :
NodeList - .children :
HTMLCollection - .ownerDocument
- .scrollIntoView()
- .scrollIntoViewIfNeeded()
- .focus()
- .blur()
- .getAttribute(name)
- .setAttribute(name, value)
- .removeAttribute(name)
- .hasAttribute(name)
- .getAttributeNode(name)
- .setAttributeNode(newAttr)
- .removeAttributeNode(oldAttr)
- .click()
- .getElementsByClassName(name)
- .getElementsByTagName(name)
- .querySelector(selector)
- .querySelectorAll(selector)
- .getBoundingClientRect()
- .insertAdjacentHTML(position, value)
- .insertAdjacentElement(position, node)
- .insertAdjacentText(position, text)
- .hasChildNodes()
- .cloneNode(deep)
- .appendChild(child)
- .insertBefore(child, before)
- .replaceChild(newChild, oldChild)
- .removeChild(child)
- .remove()
- .before(...nodes)
- .after(...nodes)
- .replaceWith(...nodes)
- .contains(node)
- .addEventListener(eventName, callback, [capture])
- .removeEventListener(eventName, callback, [capture])
- .dispatchEvent(event)
Returns an HTMLCollection containing all of the form controls. It should technicaly be an HTMLFormControlsCollection which subclasses HTMLCollection. TODO: Implement HTMLFormControlsCollection and use it here.
See: https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/elements
Access to all the custom data attributes (data-*) set.
See: https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dataset
Read only
Read only
Read only
Read only
Read only
htmlFormElement.attributes : NamedNodeMap
Read only
Read only
Read only
Read only
Read only
Read only
The height of the element
The width of the element
htmlFormElement.offsetParent : Element
Read only
Read only
Read only
Read only
Read only
Read only
Read only
htmlFormElement.uxpContainer : UXPContainer
Read only
Read only
Read only
htmlFormElement.parentNode : Node
Read only
htmlFormElement.parentElement : Element
Read only
htmlFormElement.firstChild : Node
Read only
htmlFormElement.lastChild : Node
Read only
htmlFormElement.previousSibling : Node
Read only
htmlFormElement.nextSibling : Node
Read only
htmlFormElement.firstElementChild : Node
Read only
htmlFormElement.lastElementChild : Node
Read only
htmlFormElement.previousElementSibling : Node
Read only
htmlFormElement.nextElementSibling : Node
Read only
htmlFormElement.childNodes : NodeList
Read only
htmlFormElement.children : HTMLCollection
Read only
Read only
| Param | Type |
|---|---|
| name | string |
| Param | Type |
|---|---|
| name | string |
| value | string |
| Param | Type |
|---|---|
| name | string |
| Param | Type |
|---|---|
| name | string |
| Param | Type |
|---|---|
| name | string |
| Param | Type |
|---|---|
| newAttr | \* |
| Param | Type |
|---|---|
| oldAttr | \* |
| Param | Type |
|---|---|
| name | string |
| Param | Type |
|---|---|
| name | string |
| Param | Type |
|---|---|
| selector | string |
| Param | Type |
|---|---|
| selector | string |
| Param | Type |
|---|---|
| position | |
| value | string |
| Param | Type |
|---|---|
| position | \* |
| node | \* |
| Param | Type |
|---|---|
| position | \* |
| text | \* |
| Param | Type |
|---|---|
| deep | boolean |
| Param | Type |
|---|---|
| child | Node |
| Param | Type |
|---|---|
| child | Node |
| before | Node |
| Param | Type |
|---|---|
| newChild | Node |
| oldChild | Node |
| Param | Type |
|---|---|
| child | Node |
| Param | Type |
|---|---|
| ...nodes | Array.<Node> |
| Param | Type |
|---|---|
| ...nodes | Array.<Node> |
| Param | Type |
|---|---|
| ...nodes | Array.<Node> |
| Param | Type |
|---|---|
| node | Node |
| Param | Type | Default |
|---|---|---|
| eventName | \* |
|
| callback | \* |
|
| [capture] | boolean |
false |
| Param | Type | Default |
|---|---|---|
| eventName | \* |
|
| callback | \* |
|
| [capture] | boolean |
false |
| Param | Type |
|---|---|
| event | \* |