Readonly collapsedReturns true if range is collapsed, and false otherwise.
Readonly endReturns range's end node.
Readonly endReturns range's end offset.
Readonly startReturns range's start node.
Readonly startReturns range's start offset.
Readonly commonReturns the node, furthest away from the document, that is an ancestor of both range's start node and end node.
Generated using TypeDoc
A fragment of a document that can contain only pieces of a single text node. Does not implement
Rangemethods that operate with other nodes or directly mutate the contents of theRange.