HTMLLabelElement
Extends: HTMLElement
See: https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement
-
- new HTMLLabelElement(document, nodeName, namespaceURI)
- .control :
HTMLElement - .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)
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 | Number
The height of the element
htmlLabelElement.width : string | 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
stringhtmlLabelElement.setAttribute(name, value)
Param
Type
name
stringvalue
stringhtmlLabelElement.removeAttribute(name)
Param
Type
name
stringhtmlLabelElement.hasAttribute(name)
Param
Type
name
stringhtmlLabelElement.getAttributeNode(name)
Param
Type
name
stringhtmlLabelElement.setAttributeNode(newAttr)
Param
Type
newAttr
\*htmlLabelElement.removeAttributeNode(oldAttr)
Param
Type
oldAttr
\*htmlLabelElement.click()
htmlLabelElement.getElementsByClassName(name)
Param
Type
name
stringhtmlLabelElement.getElementsByTagName(name)
Param
Type
name
stringhtmlLabelElement.querySelector(selector)
Param
Type
selector
stringhtmlLabelElement.querySelectorAll(selector)
Param
Type
selector
stringhtmlLabelElement.getBoundingClientRect()
htmlLabelElement.insertAdjacentHTML(position, value)
Param
Type
position
value
stringhtmlLabelElement.insertAdjacentElement(position, node)
Param
Type
position
\*node
\*htmlLabelElement.insertAdjacentText(position, text)
Param
Type
position
\*text
\*htmlLabelElement.hasChildNodes()
htmlLabelElement.cloneNode(deep)
Param
Type
deep
booleanhtmlLabelElement.appendChild(child)
Param
Type
child
htmlLabelElement.insertBefore(child, before)
htmlLabelElement.replaceChild(newChild, oldChild)
htmlLabelElement.removeChild(child)
Param
Type
child
htmlLabelElement.remove()
htmlLabelElement.before(...nodes)
Param
Type
...nodes
htmlLabelElement.after(...nodes)
Param
Type
...nodes
htmlLabelElement.replaceWith(...nodes)
Param
Type
...nodes
htmlLabelElement.contains(node)
Param
Type
node
htmlLabelElement.addEventListener(eventName, callback, [capture])
Param
Type
Default
eventName
\*callback
\*[capture]
booleanfalsehtmlLabelElement.removeEventListener(eventName, callback, [capture])
Param
Type
Default
eventName
\*callback
\*[capture]
booleanfalsehtmlLabelElement.dispatchEvent(event)
Param
Type
event
\*