HTMLLabelElement
Extends: HTMLElement
See: https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement
- 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
orNumber
- .width :
string
orNumber
- .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
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 | * |