Attr ⇐ Node

Kind: global class Extends: Node Access: public See: https://developer.mozilla.org/en-US/docs/Web/API/Attr

new Attr(document, nodeName)

Creates an instance of Attr.

Param Type
document Document
nodeName string

attr.nodeName : string

Kind: instance property of Attr Read only: true

attr.localName : string

Kind: instance property of Attr Read only: true

attr.name : string

Kind: instance property of Attr Read only: true

attr.specified : boolean

Kind: instance property of Attr Read only: true

attr.value : *

Kind: instance property of Attr

attr.nodeType : number

Kind: instance property of Attr Read only: true

attr.nodeValue : *

Kind: instance property of Attr

attr.ownerElement : Element

Kind: instance property of Attr Read only: true

attr.contentEditable

Kind: instance property of Attr Read only: true

attr.isConnected : boolean

Kind: instance property of Attr Read only: true

attr.parentNode : Node

Kind: instance property of Attr Read only: true

attr.firstChild : Node

Kind: instance property of Attr Read only: true

attr.lastChild : Node

Kind: instance property of Attr Read only: true

attr.previousSibling : Node

Kind: instance property of Attr Read only: true

attr.nextSibling : Node

Kind: instance property of Attr Read only: true

attr.firstElementChild : Node

Kind: instance property of Attr Read only: true

attr.lastElementChild : Node

Kind: instance property of Attr Read only: true

attr.previousElementSibling : Node

Kind: instance property of Attr Read only: true

attr.nextElementSibling : Node

Kind: instance property of Attr Read only: true

attr.textContent : string

Kind: instance property of Attr

attr.childNodes : NodeList

Kind: instance property of Attr Read only: true

attr.ownerDocument

Kind: instance property of Attr Read only: true

attr.attributes

Kind: instance property of Attr Read only: true

attr.offsetParent

Kind: instance property of Attr Read only: true

attr.remove()

Kind: instance method of Attr Overrides: remove

attr.hasChildNodes() ⇒ boolean

Kind: instance method of Attr

attr.cloneNode(deep) ⇒ Node

Kind: instance method of Attr

Param Type
deep boolean

attr.appendChild(child) ⇒ Node

Kind: instance method of Attr

Param Type
child Node

attr.insertBefore(child, before) ⇒ Node

Kind: instance method of Attr

Param Type
child Node
before Node

attr.replaceChild(newChild, oldChild) ⇒ Node

Kind: instance method of Attr

Param Type
newChild Node
oldChild Node

attr.removeChild(child) ⇒ Node

Kind: instance method of Attr

Param Type
child Node

attr.before(...nodes)

Kind: instance method of Attr

Param Type
...nodes Array.<Node>

attr.after(...nodes)

Kind: instance method of Attr

Param Type
...nodes Array.<Node>

attr.replaceWith(...nodes)

Kind: instance method of Attr

Param Type
...nodes Array.<Node>

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

Kind: instance method of Attr

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

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

Kind: instance method of Attr

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

attr.dispatchEvent(event)

Kind: instance method of Attr

Param Type
event *

results matching ""

    No results matching ""