$dom. Text

new $dom.Text()

Extends

Members

(readonly) beginIndex

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

Inherited From

(readonly) childNodes

Inherited From

(readonly) endIndex

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

Inherited From

(readonly) firstChild

Inherited From

(readonly) lastChild

Inherited From

(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

(readonly) parentNode

Inherited From

(readonly) 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