HTMLMenuElement

Extends: HTMLElement

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

new HTMLMenuElement(document, nodeName, namespaceURI)

Creates an instance of HTMLMenuElement.

Param Type
document *
nodeName *
namespaceURI *

htmlMenuElement.dataset

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

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

htmlMenuElement.nodeName : string

Read only

htmlMenuElement.localName : string

Read only

htmlMenuElement.tagName : string

Read only

htmlMenuElement.nodeType : number

Read only

htmlMenuElement.namespaceURI : string

Read only

htmlMenuElement.id : string

htmlMenuElement.tabIndex : number

htmlMenuElement.className : string

htmlMenuElement.attributes : NamedNodeMap

Read only

htmlMenuElement.style : Style

Read only

htmlMenuElement.clientLeft : number

Read only

htmlMenuElement.clientTop : number

Read only

htmlMenuElement.clientWidth : number

Read only

htmlMenuElement.clientHeight : number

Read only

htmlMenuElement.height : string or Number

The height of the element

htmlMenuElement.width : string or Number

The width of the element

htmlMenuElement.offsetParent : Element

Read only

htmlMenuElement.offsetLeft : number

Read only

htmlMenuElement.offsetTop : number

Read only

htmlMenuElement.offsetWidth : number

Read only

htmlMenuElement.offsetHeight : number

Read only

htmlMenuElement.scrollLeft : number

htmlMenuElement.scrollTop : number

htmlMenuElement.scrollWidth : number

Read only

htmlMenuElement.scrollHeight : number

Read only

htmlMenuElement.uxpContainer : UXPContainer

Read only

htmlMenuElement.disabled : boolean

htmlMenuElement.innerHTML : string

htmlMenuElement.outerHTML : string

htmlMenuElement.contentEditable

Read only

htmlMenuElement.isConnected : boolean

Read only

htmlMenuElement.parentNode : Node

Read only

htmlMenuElement.parentElement : Element

Read only

htmlMenuElement.firstChild : Node

Read only

htmlMenuElement.lastChild : Node

Read only

htmlMenuElement.previousSibling : Node

Read only

htmlMenuElement.nextSibling : Node

Read only

htmlMenuElement.firstElementChild : Node

Read only

htmlMenuElement.lastElementChild : Node

Read only

htmlMenuElement.previousElementSibling : Node

Read only

htmlMenuElement.nextElementSibling : Node

Read only

htmlMenuElement.textContent : string

htmlMenuElement.childNodes : NodeList

Read only

htmlMenuElement.children : HTMLCollection

Read only

htmlMenuElement.ownerDocument

Read only

htmlMenuElement.popupAt(x, y)

Render the menu at the x,y coordinates

Param Type
x number
y number

htmlMenuElement.scrollIntoView()

htmlMenuElement.scrollIntoViewIfNeeded()

htmlMenuElement.focus()

htmlMenuElement.blur()

htmlMenuElement.getAttribute(name)

Param Type
name string

htmlMenuElement.setAttribute(name, value)

Param Type
name string
value string

htmlMenuElement.removeAttribute(name)

Param Type
name string

htmlMenuElement.hasAttribute(name)

Param Type
name string

htmlMenuElement.getAttributeNode(name)

Param Type
name string

htmlMenuElement.setAttributeNode(newAttr)

Param Type
newAttr *

htmlMenuElement.removeAttributeNode(oldAttr)

Param Type
oldAttr *

htmlMenuElement.click()

htmlMenuElement.getElementsByClassName(name)

Param Type
name string

htmlMenuElement.getElementsByTagName(name)

Param Type
name string

htmlMenuElement.querySelector(selector)

Param Type
selector string

htmlMenuElement.querySelectorAll(selector)

Param Type
selector string

htmlMenuElement.getBoundingClientRect()

htmlMenuElement.insertAdjacentHTML(position, value)

Param Type
position
value string

htmlMenuElement.insertAdjacentElement(position, node)

Param Type
position *
node *

htmlMenuElement.insertAdjacentText(position, text)

Param Type
position *
text *

htmlMenuElement.hasChildNodes()

htmlMenuElement.cloneNode(deep)

Param Type
deep boolean

htmlMenuElement.appendChild(child)

Param Type
child Node

htmlMenuElement.insertBefore(child, before)

Param Type
child Node
before Node

htmlMenuElement.replaceChild(newChild, oldChild)

Param Type
newChild Node
oldChild Node

htmlMenuElement.removeChild(child)

Param Type
child Node

htmlMenuElement.remove()

htmlMenuElement.before(...nodes)

Param Type
...nodes Array.<Node>

htmlMenuElement.after(...nodes)

Param Type
...nodes Array.<Node>

htmlMenuElement.replaceWith(...nodes)

Param Type
...nodes Array.<Node>

htmlMenuElement.contains(node)

Param Type
node Node

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

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

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

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

htmlMenuElement.dispatchEvent(event)

Param Type
event *

results matching ""

    No results matching ""