Interface SelectionRange

A selection range represents a part of a selection hierarchy. A selection range may have a parent selection range that contains it.

interface SelectionRange {
    parent?: SelectionRange;
    range: Range;
}

Properties

Properties

The parent selection range containing this range. Therefore parent.range must contain this.range.

range: Range

The range of this selection range.