HTMLLinkElement

Extends: HTMLElement

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

new HTMLLinkElement(document, nodeName, namespaceURI)

Creates an instance of HTMLLinkElement.

Param Type
document *
nodeName *
namespaceURI *

htmlLinkElement.dataset

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

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

htmlLinkElement.nodeName : string

Read only

htmlLinkElement.localName : string

Read only

htmlLinkElement.tagName : string

Read only

htmlLinkElement.nodeType : number

Read only

htmlLinkElement.namespaceURI : string

Read only

htmlLinkElement.id : string

htmlLinkElement.tabIndex : number

htmlLinkElement.className : string

htmlLinkElement.attributes : NamedNodeMap

Read only

htmlLinkElement.style : Style

Read only

htmlLinkElement.clientLeft : number

Read only

htmlLinkElement.clientTop : number

Read only

htmlLinkElement.clientWidth : number

Read only

htmlLinkElement.clientHeight : number

Read only

htmlLinkElement.height : string or Number

The height of the element

htmlLinkElement.width : string or Number

The width of the element

htmlLinkElement.offsetParent : Element

Read only

htmlLinkElement.offsetLeft : number

Read only

htmlLinkElement.offsetTop : number

Read only

htmlLinkElement.offsetWidth : number

Read only

htmlLinkElement.offsetHeight : number

Read only

htmlLinkElement.scrollLeft : number

htmlLinkElement.scrollTop : number

htmlLinkElement.scrollWidth : number

Read only

htmlLinkElement.scrollHeight : number

Read only

htmlLinkElement.uxpContainer : UXPContainer

Read only

htmlLinkElement.disabled : boolean

htmlLinkElement.innerHTML : string

htmlLinkElement.outerHTML : string

htmlLinkElement.contentEditable

Read only

htmlLinkElement.isConnected : boolean

Read only

htmlLinkElement.parentNode : Node

Read only

htmlLinkElement.parentElement : Element

Read only

htmlLinkElement.firstChild : Node

Read only

htmlLinkElement.lastChild : Node

Read only

htmlLinkElement.previousSibling : Node

Read only

htmlLinkElement.nextSibling : Node

Read only

htmlLinkElement.firstElementChild : Node

Read only

htmlLinkElement.lastElementChild : Node

Read only

htmlLinkElement.previousElementSibling : Node

Read only

htmlLinkElement.nextElementSibling : Node

Read only

htmlLinkElement.textContent : string

htmlLinkElement.childNodes : NodeList

Read only

htmlLinkElement.children : HTMLCollection

Read only

htmlLinkElement.ownerDocument

Read only

htmlLinkElement.scrollIntoView()

htmlLinkElement.scrollIntoViewIfNeeded()

htmlLinkElement.focus()

htmlLinkElement.blur()

htmlLinkElement.getAttribute(name)

Param Type
name string

htmlLinkElement.setAttribute(name, value)

Param Type
name string
value string

htmlLinkElement.removeAttribute(name)

Param Type
name string

htmlLinkElement.hasAttribute(name)

Param Type
name string

htmlLinkElement.getAttributeNode(name)

Param Type
name string

htmlLinkElement.setAttributeNode(newAttr)

Param Type
newAttr *

htmlLinkElement.removeAttributeNode(oldAttr)

Param Type
oldAttr *

htmlLinkElement.click()

htmlLinkElement.getElementsByClassName(name)

Param Type
name string

htmlLinkElement.getElementsByTagName(name)

Param Type
name string

htmlLinkElement.querySelector(selector)

Param Type
selector string

htmlLinkElement.querySelectorAll(selector)

Param Type
selector string

htmlLinkElement.getBoundingClientRect()

htmlLinkElement.insertAdjacentHTML(position, value)

Param Type
position
value string

htmlLinkElement.insertAdjacentElement(position, node)

Param Type
position *
node *

htmlLinkElement.insertAdjacentText(position, text)

Param Type
position *
text *

htmlLinkElement.hasChildNodes()

htmlLinkElement.cloneNode(deep)

Param Type
deep boolean

htmlLinkElement.appendChild(child)

Param Type
child Node

htmlLinkElement.insertBefore(child, before)

Param Type
child Node
before Node

htmlLinkElement.replaceChild(newChild, oldChild)

Param Type
newChild Node
oldChild Node

htmlLinkElement.removeChild(child)

Param Type
child Node

htmlLinkElement.remove()

htmlLinkElement.before(...nodes)

Param Type
...nodes Array.<Node>

htmlLinkElement.after(...nodes)

Param Type
...nodes Array.<Node>

htmlLinkElement.replaceWith(...nodes)

Param Type
...nodes Array.<Node>

htmlLinkElement.contains(node)

Param Type
node Node

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

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

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

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

htmlLinkElement.dispatchEvent(event)

Param Type
event *

results matching ""

    No results matching ""