new $dom.ParentNode()
Extends
Members
(readonly) beginIndex
Non-standard extension: The first index in the source of this node at parse time
- Inherited From
(readonly) childElementCount
Number of child nodes
(readonly) childNodes
- Inherited From
(readonly) children
(readonly) endIndex
Non-standard extension: The end index in the source of this node at parse time
- Inherited From
(readonly) firstChild
- Inherited From
(readonly) firstElementChild
(readonly) lastChild
- Inherited From
(readonly) lastElementChild
(readonly) lineNumber
Non-standard extension: The line number in the source of this node
- Inherited From
(readonly) nextSibling
- Inherited From
(readonly) nodeName
- Inherited From
(readonly) nodeType
- Inherited From
(readonly) nodeValue
- Inherited From
(readonly) ownerDocument
- Inherited From
(readonly) parentNode
- Inherited From
(readonly) 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