The Range.collapsed read-only property returns a Boolean flag indicating whether the start and end points of the Range are at the same position.
The Range.collapsed read-only property returns a Boolean flag indicating whether the start and end points of the Range are at the same position. It returns true if the start and end boundary points of the Range are the same point in the DOM, false if not.
The Range.endContainer read-only property returns the Node within which the Range ends.
The Range.endContainer read-only property returns the Node within which the Range ends. To change the end position of a node, use the Range.setEnd() method or a similar one.
The Range.endOffset read-only property returns a number representing where in the Range.endContainer the Range ends.
The Range.endOffset read-only property returns a number representing where in the Range.endContainer the Range ends.
The Range.startContainer read-only property returns the Node within which the Range starts.
The Range.startContainer read-only property returns the Node within which the Range starts. To change the start position of a node, use one of the Range.setStart() methods.
The Range.startOffset read-only property returns a number representing where in the startContainer the Range starts.
The Range.startOffset read-only property returns a number representing where in the startContainer the Range starts.
The DOM StaticRange interface extends AbstractRange to provide a method to specify a range of content in the DOM whose contents don't update to reflect changes which occur within the DOM tree.
This interface offers the same set of properties and methods as AbstractRange.
AbstractRange and StaticRange are not available from web workers.