Returns a DocumentFragment copying the nodes of a Range.
Returns a Range object with boundary points identical to the cloned Range.
Collapses the Range to one of its boundary points.
Collapses the Range to one of its boundary points.
Optional: A boolean value: true collapses the Range to its start, false to its end. If omitted, it defaults to false
Returns a Boolean indicating whether the range's start and end points are at the same position.
Returns the deepest Node that contains the startContainer and endContainer nodes.
Compares the boundary points of the Range with another Range.
Compares the boundary points of the Range with another Range.
A constant describing the comparison method:
A Range to compare boundary points with the range.
A number, -1, 0, or 1, indicating whether the corresponding boundary-point of the Range is respectively before, equal to, or after the corresponding boundary-point of sourceRange.
Removes the contents of a Range from the Document.
Releases the Range from use to improve performance.
Returns the Node within which the Range ends.
Returns a number representing where in the endContainer the Range ends.
Moves contents of a Range from the document tree into a DocumentFragment.
Insert a Node at the start of a Range.
Insert a Node at the start of a Range.
The Node to insert at the start of the range.
Sets the Range to contain the Node and its contents.
Sets the Range to contain the Node and its contents.
The Node to select within a Range.
Sets the Range to contain the contents of a Node.
Sets the Range to contain the contents of a Node.
The Node whose contents will be selected within a Range.
Sets the end position of a Range.
Sets the end position of a Range.
The Node where the Range should end.
An integer greater than or equal to zero representing the offset for the end of the Range from the start of endNode.
Sets the end position of a Range relative to another Node.
Sets the end position of a Range relative to another Node.
The Node to end the Range after.
Sets the end position of a Range relative to another Node.
Sets the end position of a Range relative to another Node.
The Node to end the Range before.
Sets the start position of a Range.
Sets the start position of a Range.
The Node where the Range should start.
An integer greater than or equal to zero representing the offset for the start of the Range from the start of startNode.
Sets the start position of a Range relative to another Node.
Sets the start position of a Range relative to another Node.
The Node to start the Range after.
Sets the start position of a Range relative to another Node.
Sets the start position of a Range relative to another Node.
The Node before which the Range should start.
Returns the Node within which the Range starts.
Returns a number representing where in the startContainer the Range starts.
Moves content of a Range into a new Node.
The Range interface represents a fragment of a document that can contain nodes and parts of text nodes.
A range can be created using the createRange() method of the Document object. Range objects can also be retrieved by using the getRangeAt() method of the Selection object or the caretRangeAtPoint() method of the Document object.
https://developer.mozilla.org/en-US/docs/Web/API/Range