Represents a range of text of an element. When no text is selected, the length may be 0.
length
0
Index of the character that marks the beginning of the range, exclusive. This is one character after the last selected character.
Length of the range (end - start)
end - start
Index of the character that marks the beginning of the range.
The selected text.
Generated using TypeDoc
Represents a range of text of an element. When no text is selected, the
length
may be0
.