HTMLStyleElement

Extends: HTMLElement

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

new HTMLStyleElement(document, nodeName, namespaceURI)

Creates an instance of HTMLStyleElement.

Param Type
document *
nodeName *
namespaceURI *

htmlStyleElement.dataset

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

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

htmlStyleElement.nodeName : string

Read only

htmlStyleElement.localName : string

Read only

htmlStyleElement.tagName : string

Read only

htmlStyleElement.nodeType : number

Read only

htmlStyleElement.namespaceURI : string

Read only

htmlStyleElement.id : string

htmlStyleElement.tabIndex : number

htmlStyleElement.className : string

htmlStyleElement.attributes : NamedNodeMap

Read only

htmlStyleElement.style : Style

Read only

htmlStyleElement.clientLeft : number

Read only

htmlStyleElement.clientTop : number

Read only

htmlStyleElement.clientWidth : number

Read only

htmlStyleElement.clientHeight : number

Read only

htmlStyleElement.height : string or Number

The height of the element

htmlStyleElement.width : string or Number

The width of the element

htmlStyleElement.offsetParent : Element

Read only

htmlStyleElement.offsetLeft : number

Read only

htmlStyleElement.offsetTop : number

Read only

htmlStyleElement.offsetWidth : number

Read only

htmlStyleElement.offsetHeight : number

Read only

htmlStyleElement.scrollLeft : number

htmlStyleElement.scrollTop : number

htmlStyleElement.scrollWidth : number

Read only

htmlStyleElement.scrollHeight : number

Read only

htmlStyleElement.uxpContainer : UXPContainer

Read only

htmlStyleElement.disabled : boolean

htmlStyleElement.innerHTML : string

htmlStyleElement.outerHTML : string

htmlStyleElement.contentEditable

Read only

htmlStyleElement.isConnected : boolean

Read only

htmlStyleElement.parentNode : Node

Read only

htmlStyleElement.parentElement : Element

Read only

htmlStyleElement.firstChild : Node

Read only

htmlStyleElement.lastChild : Node

Read only

htmlStyleElement.previousSibling : Node

Read only

htmlStyleElement.nextSibling : Node

Read only

htmlStyleElement.firstElementChild : Node

Read only

htmlStyleElement.lastElementChild : Node

Read only

htmlStyleElement.previousElementSibling : Node

Read only

htmlStyleElement.nextElementSibling : Node

Read only

htmlStyleElement.textContent : string

htmlStyleElement.childNodes : NodeList

Read only

htmlStyleElement.children : HTMLCollection

Read only

htmlStyleElement.ownerDocument

Read only

htmlStyleElement.scrollIntoView()

htmlStyleElement.scrollIntoViewIfNeeded()

htmlStyleElement.focus()

htmlStyleElement.blur()

htmlStyleElement.getAttribute(name)

Param Type
name string

htmlStyleElement.setAttribute(name, value)

Param Type
name string
value string

htmlStyleElement.removeAttribute(name)

Param Type
name string

htmlStyleElement.hasAttribute(name)

Param Type
name string

htmlStyleElement.getAttributeNode(name)

Param Type
name string

htmlStyleElement.setAttributeNode(newAttr)

Param Type
newAttr *

htmlStyleElement.removeAttributeNode(oldAttr)

Param Type
oldAttr *

htmlStyleElement.click()

htmlStyleElement.getElementsByClassName(name)

Param Type
name string

htmlStyleElement.getElementsByTagName(name)

Param Type
name string

htmlStyleElement.querySelector(selector)

Param Type
selector string

htmlStyleElement.querySelectorAll(selector)

Param Type
selector string

htmlStyleElement.getBoundingClientRect()

htmlStyleElement.insertAdjacentHTML(position, value)

Param Type
position
value string

htmlStyleElement.insertAdjacentElement(position, node)

Param Type
position *
node *

htmlStyleElement.insertAdjacentText(position, text)

Param Type
position *
text *

htmlStyleElement.hasChildNodes()

htmlStyleElement.cloneNode(deep)

Param Type
deep boolean

htmlStyleElement.appendChild(child)

Param Type
child Node

htmlStyleElement.insertBefore(child, before)

Param Type
child Node
before Node

htmlStyleElement.replaceChild(newChild, oldChild)

Param Type
newChild Node
oldChild Node

htmlStyleElement.removeChild(child)

Param Type
child Node

htmlStyleElement.remove()

htmlStyleElement.before(...nodes)

Param Type
...nodes Array.<Node>

htmlStyleElement.after(...nodes)

Param Type
...nodes Array.<Node>

htmlStyleElement.replaceWith(...nodes)

Param Type
...nodes Array.<Node>

htmlStyleElement.contains(node)

Param Type
node Node

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

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

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

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

htmlStyleElement.dispatchEvent(event)

Param Type
event *

results matching ""

    No results matching ""