Interface AbstractRange
interface AbstractRange {
collapsed: boolean;
endContainer: Node;
endOffset: number;
startContainer: Node;
startOffset: number;
}
collapsed: boolean;
endContainer: Node;
endOffset: number;
startContainer: Node;
startOffset: number;
}
Hierarchy
- AbstractRange (View Summary)
Index
Properties
Properties
Readonlycollapsed
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.
ReadonlyendContainer
The read-only endContainer property of the AbstractRange interface returns the Node in which the end of the range is located.
ReadonlyendOffset
endOffset: number
The endOffset property of the AbstractRange interface returns the offset into the end node of the range's end position.
ReadonlystartContainer
The read-only startContainer property of the AbstractRange interface returns the start Node for the range.
ReadonlystartOffset
startOffset: number
The read-only startOffset property of the AbstractRange interface returns the offset into the start node of the range's start position.
The
AbstractRangeabstract interface is the base class upon which all DOM range types are defined.MDN Reference