Extends: HTMLElement
See: https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement
- HTMLInputElement
- new HTMLInputElement(document, nodeName, namespaceURI)
- instance
- .value :
\*
- .defaultValue :
string
- .checked :
boolean
- .indeterminate :
boolean
- .autofocus :
boolean
- .name :
string
- .type :
string
- .placeholder :
string
- .readOnly :
boolean
- .min :
string
- .max :
string
- .step :
string
- .uxpVariant :
string
- .uxpQuiet :
string
- .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)
- .value :
- static
- .HTMLTextAreaElement#defaultValue :
string
- .HTMLTextAreaElement#defaultValue :
Creates an instance of HTMLInputElement.
Param | Type |
---|---|
document | \* |
nodeName | \* |
namespaceURI | \* |
Returns the value of the input element.
The defaultValue for the input element (if applicable to the input element's type)
Indicates if the checkbox is checked.
Indicates if the element is indeterminate
Indicates if the element will focus automatically when it is loaded in a form.
Specifies the name of this input element.
Specifies the type of input control
The placeholder for the input element (if applicable to the input element's type)
Determines if the element's content is read only.
Minimum value allowed (used for input type="range"
)
Maximum value allowed (used for input type="range"
)
the size of each movement of the slder control (used for input type="range"
)
Controls the type of native widget.
Determines if a control is rendered in "quiet" mode
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
htmlInputElement.attributes : NamedNodeMap
Read only
Read only
Read only
Read only
Read only
Read only
The height of the element
The width of the element
htmlInputElement.offsetParent : Element
Read only
Read only
Read only
Read only
Read only
Read only
Read only
htmlInputElement.uxpContainer : UXPContainer
Read only
Read only
Read only
htmlInputElement.parentNode : Node
Read only
htmlInputElement.parentElement : Element
Read only
htmlInputElement.firstChild : Node
Read only
htmlInputElement.lastChild : Node
Read only
htmlInputElement.previousSibling : Node
Read only
htmlInputElement.nextSibling : Node
Read only
htmlInputElement.firstElementChild : Node
Read only
htmlInputElement.lastElementChild : Node
Read only
htmlInputElement.previousElementSibling : Node
Read only
htmlInputElement.nextElementSibling : Node
Read only
htmlInputElement.childNodes : NodeList
Read only
htmlInputElement.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 | \* |
The defaultValue for the textarea element