Skip to content

Latest commit

 

History

History
644 lines (401 loc) · 17.1 KB

HTMLSelectElement.md

File metadata and controls

644 lines (401 loc) · 17.1 KB

HTMLSelectElement

Extends: HTMLElement

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

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 | Number

The height of the element

htmlSelectElement.width : string | 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 \*