HTMLInputElement

Extends: HTMLElement

See: https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement

new HTMLInputElement(document, nodeName, namespaceURI)

Creates an instance of HTMLInputElement.

Param Type
document *
nodeName *
namespaceURI *

htmlInputElement.value : *

Returns the value of the input element.

htmlInputElement.defaultValue : string

The defaultValue for the input element (if applicable to the input element's type)

htmlInputElement.checked : boolean

Indicates if the checkbox is checked.

htmlInputElement.indeterminate : boolean

Indicates if the element is indeterminate

htmlInputElement.autofocus : boolean

Indicates if the element will focus automatically when it is loaded in a form.

htmlInputElement.name : string

Specifies the name of this input element.

htmlInputElement.type : string

Specifies the type of input control

htmlInputElement.placeholder : string

The placeholder for the input element (if applicable to the input element's type)

htmlInputElement.readOnly : boolean

Determines if the element's content is read only.

htmlInputElement.min : string

Minimum value allowed (used for input type="range")

htmlInputElement.max : string

Maximum value allowed (used for input type="range")

htmlInputElement.step : string

the size of each movement of the slder control (used for input type="range")

htmlInputElement.uxpVariant : string

Controls the type of native widget.

htmlInputElement.uxpQuiet : string

Determines if a control is rendered in "quiet" mode

htmlInputElement.dataset

Access to all the custom data attributes (data-*) set.

See: https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dataset

htmlInputElement.nodeName : string

Read only

htmlInputElement.localName : string

Read only

htmlInputElement.tagName : string

Read only

htmlInputElement.nodeType : number

Read only

htmlInputElement.namespaceURI : string

Read only

htmlInputElement.id : string

htmlInputElement.tabIndex : number

htmlInputElement.className : string

htmlInputElement.attributes : NamedNodeMap

Read only

htmlInputElement.style : Style

Read only

htmlInputElement.clientLeft : number

Read only

htmlInputElement.clientTop : number

Read only

htmlInputElement.clientWidth : number

Read only

htmlInputElement.clientHeight : number

Read only

htmlInputElement.height : string or Number

The height of the element

htmlInputElement.width : string or Number

The width of the element

htmlInputElement.offsetParent : Element

Read only

htmlInputElement.offsetLeft : number

Read only

htmlInputElement.offsetTop : number

Read only

htmlInputElement.offsetWidth : number

Read only

htmlInputElement.offsetHeight : number

Read only

htmlInputElement.scrollLeft : number

htmlInputElement.scrollTop : number

htmlInputElement.scrollWidth : number

Read only

htmlInputElement.scrollHeight : number

Read only

htmlInputElement.uxpContainer : UXPContainer

Read only

htmlInputElement.disabled : boolean

htmlInputElement.innerHTML : string

htmlInputElement.outerHTML : string

htmlInputElement.contentEditable

Read only

htmlInputElement.isConnected : boolean

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.textContent : string

htmlInputElement.childNodes : NodeList

Read only

htmlInputElement.children : HTMLCollection

Read only

htmlInputElement.ownerDocument

Read only

htmlInputElement.scrollIntoView()

htmlInputElement.scrollIntoViewIfNeeded()

htmlInputElement.focus()

htmlInputElement.blur()

htmlInputElement.getAttribute(name)

Param Type
name string

htmlInputElement.setAttribute(name, value)

Param Type
name string
value string

htmlInputElement.removeAttribute(name)

Param Type
name string

htmlInputElement.hasAttribute(name)

Param Type
name string

htmlInputElement.getAttributeNode(name)

Param Type
name string

htmlInputElement.setAttributeNode(newAttr)

Param Type
newAttr *

htmlInputElement.removeAttributeNode(oldAttr)

Param Type
oldAttr *

htmlInputElement.click()

htmlInputElement.getElementsByClassName(name)

Param Type
name string

htmlInputElement.getElementsByTagName(name)

Param Type
name string

htmlInputElement.querySelector(selector)

Param Type
selector string

htmlInputElement.querySelectorAll(selector)

Param Type
selector string

htmlInputElement.getBoundingClientRect()

htmlInputElement.insertAdjacentHTML(position, value)

Param Type
position
value string

htmlInputElement.insertAdjacentElement(position, node)

Param Type
position *
node *

htmlInputElement.insertAdjacentText(position, text)

Param Type
position *
text *

htmlInputElement.hasChildNodes()

htmlInputElement.cloneNode(deep)

Param Type
deep boolean

htmlInputElement.appendChild(child)

Param Type
child Node

htmlInputElement.insertBefore(child, before)

Param Type
child Node
before Node

htmlInputElement.replaceChild(newChild, oldChild)

Param Type
newChild Node
oldChild Node

htmlInputElement.removeChild(child)

Param Type
child Node

htmlInputElement.remove()

htmlInputElement.before(...nodes)

Param Type
...nodes Array.<Node>

htmlInputElement.after(...nodes)

Param Type
...nodes Array.<Node>

htmlInputElement.replaceWith(...nodes)

Param Type
...nodes Array.<Node>

htmlInputElement.contains(node)

Param Type
node Node

htmlInputElement.addEventListener(eventName, callback, [capture])

Param Type Default
eventName *
callback *
[capture] boolean false

htmlInputElement.removeEventListener(eventName, callback, [capture])

Param Type Default
eventName *
callback *
[capture] boolean false

htmlInputElement.dispatchEvent(event)

Param Type
event *

HTMLInputElement.HTMLTextAreaElement#defaultValue : string

The defaultValue for the textarea element

results matching ""

    No results matching ""