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 full)
Index
Properties
Properties
Readonly
collapsed
collapsed: boolean
Returns true if range is collapsed, and false otherwise.
Readonly
endContainer
Returns range's end node.
Readonly
endOffset
endOffset : number
Returns range's end offset.
Readonly
startContainer
Returns range's start node.
Readonly
startOffset
startOffset : number
Returns range's start offset.
MDN Reference