Skip to main content

class Text extends Node

The Text represents html text nodes. Extends class Node.

properties:

data

read/write, string, text of Text node.

length

read-only, integer, length of the text.

wholeText

read-only, string, returns the full text of all Text nodes logically adjacent to the node.