new $dom.ParentNode()
Extends
Members
beginIndex
Non-standard extension: The first index in the source of this node at parse time
- Inherited From
childElementCount
Number of child nodes
childNodes
- Inherited From
children
endIndex
Non-standard extension: The end index in the source of this node at parse time
- Inherited From
firstChild
- Inherited From
firstElementChild
lastChild
- Inherited From
lastElementChild
lineNumber
Non-standard extension: The line number in the source of this node
- Inherited From
nextSibling
- Inherited From
nodeName
- Inherited From
nodeType
- Inherited From
nodeValue
- Inherited From
ownerDocument
- Inherited From
parentNode
- Inherited From
previousSibling
- Inherited From
textContent
- Inherited From
Methods
appendChild(newNode)
Parameters:
Name | Type | Description |
---|---|---|
newNode | $dom. | DOM node to append |
- Inherited From
insertBefore(newNode, referenceNode)
Parameters:
Name | Type | Description |
---|---|---|
newNode | $dom. | DOM node to append |
referenceNode | $dom. | The node before which newNode is inserted |
- Inherited From
remove()
removes the object from the tree it belongs to.
- Inherited From
removeChild(childNode)
removes a child node from the DOM and returns the removed node
Parameters:
Name | Type | Description |
---|---|---|
childNode | $dom. | DOM node to remove |
- Inherited From