Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a range of text of an element. When no text is selected, the length may be 0.

Hierarchy

  • Range

Index

Properties

end: number

Index of the character that marks the beginning of the range, exclusive. This is one character after the last selected character.

length: number

Length of the range (end - start)

start: number

Index of the character that marks the beginning of the range.

text: string

The selected text.

Generated using TypeDoc