AbstractRange

open class AbstractRange(source)

The AbstractRange abstract interface is the base class upon which all DOM range types are defined. A range is an object that indicates the start and end points of a section of content within the document.

MDN Reference

Inheritors

Properties

Link copied to clipboard
external val collapsed: Boolean

The read-only collapsed property of the AbstractRange interface returns true if the range's start position and end position are the same.

Link copied to clipboard
external val endContainer: Node

The read-only endContainer property of the AbstractRange interface returns the Node in which the end of the range is located.

Link copied to clipboard
external val endOffset: Int

The endOffset property of the AbstractRange interface returns the offset into the end node of the range's end position.

Link copied to clipboard
external val startContainer: Node

The read-only startContainer property of the AbstractRange interface returns the Node in which the start of the range is located.

Link copied to clipboard
external val startOffset: Int

The read-only startOffset property of the AbstractRange interface returns the offset into the start node of the range's start position.