Readonly
collapsedReturns true if range is collapsed, and false otherwise.
Readonly
commonReturns the node, furthest away from the document, that is an ancestor of both range's start node and end node.
Readonly
END_Readonly
END_Readonly
endReturns range's end node.
Readonly
endReturns range's end offset.
Readonly
START_Readonly
START_Readonly
startReturns range's start node.
Readonly
startReturns range's start offset.
A fragment of a document that can contain nodes and parts of text nodes.
MDN Reference