$dom. Comment

new $dom.Comment()

Extends

Members

beginIndex

Non-standard extension: The first index in the source of this node at parse time

Inherited From

childNodes

Inherited From

endIndex

Non-standard extension: The end index in the source of this node at parse time

Inherited From

firstChild

Inherited From

lastChild

Inherited From

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

parentNode

Inherited From

previousSibling

textContent

Inherited From

Methods

appendChild(newNode)

Parameters:
NameTypeDescription
newNode$dom.Node

DOM node to append

Inherited From

insertBefore(newNode, referenceNode)

Parameters:
NameTypeDescription
newNode$dom.Node

DOM node to append

referenceNode$dom.Node

The node before which newNode is inserted

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:
NameTypeDescription
childNode$dom.Node

DOM node to remove

Inherited From