HTMLSelectElement
Extends: HTMLElement
See: https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement
- HTMLSelectElement
- new HTMLSelectElement(document, nodeName, namespaceURI)
- .value :
string
- .selectedIndex :
number
- .selectedOptions :
Array.<Node>
- .uxpVariant :
string
- .uxpQuiet :
string
- .options :
NodeList
- .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 HTMLSelectElement(document, nodeName, namespaceURI)
Creates an instance of HTMLSelectElement.
Param | Type |
---|---|
document | * |
nodeName | * |
namespaceURI | * |
htmlSelectElement.value : string
htmlSelectElement.selectedIndex : number
htmlSelectElement.selectedOptions : Array.<Node>
htmlSelectElement.uxpVariant : string
Variant
htmlSelectElement.uxpQuiet : string
Determines if control renders quietly
htmlSelectElement.options : NodeList
Read only
htmlSelectElement.dataset
Access to all the custom data attributes (data-*) set.
See: https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dataset
htmlSelectElement.nodeName : string
Read only
htmlSelectElement.localName : string
Read only
htmlSelectElement.tagName : string
Read only
htmlSelectElement.nodeType : number
Read only
htmlSelectElement.namespaceURI : string
Read only
htmlSelectElement.id : string
htmlSelectElement.tabIndex : number
htmlSelectElement.className : string
htmlSelectElement.attributes : NamedNodeMap
Read only
htmlSelectElement.style : Style
Read only
htmlSelectElement.clientLeft : number
Read only
htmlSelectElement.clientTop : number
Read only
htmlSelectElement.clientWidth : number
Read only
htmlSelectElement.clientHeight : number
Read only
htmlSelectElement.height : string
or Number
The height of the element
htmlSelectElement.width : string
or Number
The width of the element
htmlSelectElement.offsetParent : Element
Read only
htmlSelectElement.offsetLeft : number
Read only
htmlSelectElement.offsetTop : number
Read only
htmlSelectElement.offsetWidth : number
Read only
htmlSelectElement.offsetHeight : number
Read only
htmlSelectElement.scrollLeft : number
htmlSelectElement.scrollTop : number
htmlSelectElement.scrollWidth : number
Read only
htmlSelectElement.scrollHeight : number
Read only
htmlSelectElement.uxpContainer : UXPContainer
Read only
htmlSelectElement.disabled : boolean
htmlSelectElement.innerHTML : string
htmlSelectElement.outerHTML : string
htmlSelectElement.contentEditable
Read only
htmlSelectElement.isConnected : boolean
Read only
htmlSelectElement.parentNode : Node
Read only
htmlSelectElement.parentElement : Element
Read only
htmlSelectElement.firstChild : Node
Read only
htmlSelectElement.lastChild : Node
Read only
htmlSelectElement.previousSibling : Node
Read only
htmlSelectElement.nextSibling : Node
Read only
htmlSelectElement.firstElementChild : Node
Read only
htmlSelectElement.lastElementChild : Node
Read only
htmlSelectElement.previousElementSibling : Node
Read only
htmlSelectElement.nextElementSibling : Node
Read only
htmlSelectElement.textContent : string
htmlSelectElement.childNodes : NodeList
Read only
htmlSelectElement.children : HTMLCollection
Read only
htmlSelectElement.ownerDocument
Read only
htmlSelectElement.scrollIntoView()
htmlSelectElement.scrollIntoViewIfNeeded()
htmlSelectElement.focus()
htmlSelectElement.blur()
htmlSelectElement.getAttribute(name)
Param | Type |
---|---|
name | string |
htmlSelectElement.setAttribute(name, value)
Param | Type |
---|---|
name | string |
value | string |
htmlSelectElement.removeAttribute(name)
Param | Type |
---|---|
name | string |
htmlSelectElement.hasAttribute(name)
Param | Type |
---|---|
name | string |
htmlSelectElement.getAttributeNode(name)
Param | Type |
---|---|
name | string |
htmlSelectElement.setAttributeNode(newAttr)
Param | Type |
---|---|
newAttr | * |
htmlSelectElement.removeAttributeNode(oldAttr)
Param | Type |
---|---|
oldAttr | * |
htmlSelectElement.click()
htmlSelectElement.getElementsByClassName(name)
Param | Type |
---|---|
name | string |
htmlSelectElement.getElementsByTagName(name)
Param | Type |
---|---|
name | string |
htmlSelectElement.querySelector(selector)
Param | Type |
---|---|
selector | string |
htmlSelectElement.querySelectorAll(selector)
Param | Type |
---|---|
selector | string |
htmlSelectElement.getBoundingClientRect()
htmlSelectElement.insertAdjacentHTML(position, value)
Param | Type |
---|---|
position | |
value | string |
htmlSelectElement.insertAdjacentElement(position, node)
Param | Type |
---|---|
position | * |
node | * |
htmlSelectElement.insertAdjacentText(position, text)
Param | Type |
---|---|
position | * |
text | * |
htmlSelectElement.hasChildNodes()
htmlSelectElement.cloneNode(deep)
Param | Type |
---|---|
deep | boolean |
htmlSelectElement.appendChild(child)
Param | Type |
---|---|
child | Node |
htmlSelectElement.insertBefore(child, before)
Param | Type |
---|---|
child | Node |
before | Node |
htmlSelectElement.replaceChild(newChild, oldChild)
Param | Type |
---|---|
newChild | Node |
oldChild | Node |
htmlSelectElement.removeChild(child)
Param | Type |
---|---|
child | Node |
htmlSelectElement.remove()
htmlSelectElement.before(...nodes)
Param | Type |
---|---|
...nodes | Array.<Node> |
htmlSelectElement.after(...nodes)
Param | Type |
---|---|
...nodes | Array.<Node> |
htmlSelectElement.replaceWith(...nodes)
Param | Type |
---|---|
...nodes | Array.<Node> |
htmlSelectElement.contains(node)
Param | Type |
---|---|
node | Node |
htmlSelectElement.addEventListener(eventName, callback, [capture])
Param | Type | Default |
---|---|---|
eventName | * |
|
callback | * |
|
[capture] | boolean |
false |
htmlSelectElement.removeEventListener(eventName, callback, [capture])
Param | Type | Default |
---|---|---|
eventName | * |
|
callback | * |
|
[capture] | boolean |
false |
htmlSelectElement.dispatchEvent(event)
Param | Type |
---|---|
event | * |