Interface CellSelection

Represents the current selection with a cell range.

interface CellSelection {
    activeCoords?: CellCoords;
    activeRangeIndex?: number;
    ranges?: CellRangeCoords[];
}

Properties

activeCoords?: CellCoords

The coordinates of the cell that will receive actions that operate on a single cell.

Remarks

activeRangeIndex?: number

The current range is the is active or -1 if no ranges are selected.

Remarks

This must be an index of the ranges array.

ranges?: CellRangeCoords[]

A list of cell ranges that are currently selected.