Interface AbstractRange

interface AbstractRange {
    collapsed: boolean;
    endContainer: Node;
    endOffset: number;
    startContainer: Node;
    startOffset: number;
}

Hierarchy (view full)

Properties

collapsed: boolean

Returns true if range is collapsed, and false otherwise.

MDN Reference

endContainer: Node

Returns range's end node.

MDN Reference

endOffset: number

Returns range's end offset.

MDN Reference

startContainer: Node

Returns range's start node.

MDN Reference

startOffset: number

Returns range's start offset.

MDN Reference