Node ⇐ EventTarget

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

new Node(ownerDocument)

Creates an instance of Node.

Param Type
ownerDocument *

node.contentEditable

Kind: instance property of Node Read only: true

node.isConnected : boolean

Kind: instance property of Node Read only: true

node.parentNode : Node

Kind: instance property of Node Read only: true

node.firstChild : Node

Kind: instance property of Node Read only: true

node.lastChild : Node

Kind: instance property of Node Read only: true

node.previousSibling : Node

Kind: instance property of Node Read only: true

node.nextSibling : Node

Kind: instance property of Node Read only: true

node.firstElementChild : Node

Kind: instance property of Node Read only: true

node.lastElementChild : Node

Kind: instance property of Node Read only: true

node.previousElementSibling : Node

Kind: instance property of Node Read only: true

node.nextElementSibling : Node

Kind: instance property of Node Read only: true

node.textContent : string

Kind: instance property of Node

node.childNodes : NodeList

Kind: instance property of Node Read only: true

node.ownerDocument

Kind: instance property of Node Read only: true

node.attributes

Kind: instance property of Node Read only: true

node.offsetParent

Kind: instance property of Node Read only: true

node.hasChildNodes() ⇒ boolean

Kind: instance method of Node

node.cloneNode(deep) ⇒ Node

Kind: instance method of Node

Param Type
deep boolean

node.appendChild(child) ⇒ Node

Kind: instance method of Node

Param Type
child Node

node.insertBefore(child, before) ⇒ Node

Kind: instance method of Node

Param Type
child Node
before Node

node.replaceChild(newChild, oldChild) ⇒ Node

Kind: instance method of Node

Param Type
newChild Node
oldChild Node

node.removeChild(child) ⇒ Node

Kind: instance method of Node

Param Type
child Node

node.remove()

Kind: instance method of Node

node.before(...nodes)

Kind: instance method of Node

Param Type
...nodes Array.<Node>

node.after(...nodes)

Kind: instance method of Node

Param Type
...nodes Array.<Node>

node.replaceWith(...nodes)

Kind: instance method of Node

Param Type
...nodes Array.<Node>

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

Kind: instance method of Node

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

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

Kind: instance method of Node

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

node.dispatchEvent(event)

Kind: instance method of Node

Param Type
event *

Node.ELEMENT_NODE

Kind: static property of Node

Node.ATTRIBUTE_NODE

Kind: static property of Node

Node.TEXT_NODE

Kind: static property of Node

Node.DOCUMENT_NODE

Kind: static property of Node

Node.DOCUMENT_FRAGMENT_NODE

Kind: static property of Node

Node.COMMENT_NODE

Kind: static property of Node

results matching ""

    No results matching ""