Interface

Text

Text

The textual content of Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element's text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children.

View Source js/lib.dom.d.ts, line 6509

Members

Text

# splitText

Splits data at the given offset and returns the remainder as Text node.

View Source js/lib.dom.d.ts, line 6517

string

# wholeText

Returns the combined data of all direct Text node siblings.

View Source js/lib.dom.d.ts, line 6512