HTMLLabelElement

Extends: HTMLElement

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

new HTMLLabelElement(document, nodeName, namespaceURI)

Creates an instance of HTMLLabelElement.

Param Type
document *
nodeName *
namespaceURI *

htmlLabelElement.control : HTMLElement

Read only

htmlLabelElement.dataset

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

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

htmlLabelElement.nodeName : string

Read only

htmlLabelElement.localName : string

Read only

htmlLabelElement.tagName : string

Read only

htmlLabelElement.nodeType : number

Read only

htmlLabelElement.namespaceURI : string

Read only

htmlLabelElement.id : string

htmlLabelElement.tabIndex : number

htmlLabelElement.className : string

htmlLabelElement.attributes : NamedNodeMap

Read only

htmlLabelElement.style : Style

Read only

htmlLabelElement.clientLeft : number

Read only

htmlLabelElement.clientTop : number

Read only

htmlLabelElement.clientWidth : number

Read only

htmlLabelElement.clientHeight : number

Read only

htmlLabelElement.height : string or Number

The height of the element

htmlLabelElement.width : string or Number

The width of the element

htmlLabelElement.offsetParent : Element

Read only

htmlLabelElement.offsetLeft : number

Read only

htmlLabelElement.offsetTop : number

Read only

htmlLabelElement.offsetWidth : number

Read only

htmlLabelElement.offsetHeight : number

Read only

htmlLabelElement.scrollLeft : number

htmlLabelElement.scrollTop : number

htmlLabelElement.scrollWidth : number

Read only

htmlLabelElement.scrollHeight : number

Read only

htmlLabelElement.uxpContainer : UXPContainer

Read only

htmlLabelElement.disabled : boolean

htmlLabelElement.innerHTML : string

htmlLabelElement.outerHTML : string

htmlLabelElement.contentEditable

Read only

htmlLabelElement.isConnected : boolean

Read only

htmlLabelElement.parentNode : Node

Read only

htmlLabelElement.parentElement : Element

Read only

htmlLabelElement.firstChild : Node

Read only

htmlLabelElement.lastChild : Node

Read only

htmlLabelElement.previousSibling : Node

Read only

htmlLabelElement.nextSibling : Node

Read only

htmlLabelElement.firstElementChild : Node

Read only

htmlLabelElement.lastElementChild : Node

Read only

htmlLabelElement.previousElementSibling : Node

Read only

htmlLabelElement.nextElementSibling : Node

Read only

htmlLabelElement.textContent : string

htmlLabelElement.childNodes : NodeList

Read only

htmlLabelElement.children : HTMLCollection

Read only

htmlLabelElement.ownerDocument

Read only

htmlLabelElement.scrollIntoView()

htmlLabelElement.scrollIntoViewIfNeeded()

htmlLabelElement.focus()

htmlLabelElement.blur()

htmlLabelElement.getAttribute(name)

Param Type
name string

htmlLabelElement.setAttribute(name, value)

Param Type
name string
value string

htmlLabelElement.removeAttribute(name)

Param Type
name string

htmlLabelElement.hasAttribute(name)

Param Type
name string

htmlLabelElement.getAttributeNode(name)

Param Type
name string

htmlLabelElement.setAttributeNode(newAttr)

Param Type
newAttr *

htmlLabelElement.removeAttributeNode(oldAttr)

Param Type
oldAttr *

htmlLabelElement.click()

htmlLabelElement.getElementsByClassName(name)

Param Type
name string

htmlLabelElement.getElementsByTagName(name)

Param Type
name string

htmlLabelElement.querySelector(selector)

Param Type
selector string

htmlLabelElement.querySelectorAll(selector)

Param Type
selector string

htmlLabelElement.getBoundingClientRect()

htmlLabelElement.insertAdjacentHTML(position, value)

Param Type
position
value string

htmlLabelElement.insertAdjacentElement(position, node)

Param Type
position *
node *

htmlLabelElement.insertAdjacentText(position, text)

Param Type
position *
text *

htmlLabelElement.hasChildNodes()

htmlLabelElement.cloneNode(deep)

Param Type
deep boolean

htmlLabelElement.appendChild(child)

Param Type
child Node

htmlLabelElement.insertBefore(child, before)

Param Type
child Node
before Node

htmlLabelElement.replaceChild(newChild, oldChild)

Param Type
newChild Node
oldChild Node

htmlLabelElement.removeChild(child)

Param Type
child Node

htmlLabelElement.remove()

htmlLabelElement.before(...nodes)

Param Type
...nodes Array.<Node>

htmlLabelElement.after(...nodes)

Param Type
...nodes Array.<Node>

htmlLabelElement.replaceWith(...nodes)

Param Type
...nodes Array.<Node>

htmlLabelElement.contains(node)

Param Type
node Node

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

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

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

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

htmlLabelElement.dispatchEvent(event)

Param Type
event *

results matching ""

    No results matching ""