x-data-spreadsheet
Version:
a javascript xpreadsheet
23 lines (18 loc) • 341 B
JavaScript
import { CellRange } from './cell_range';
export default class Selector {
constructor() {
this.range = new CellRange(0, 0, 0, 0);
this.ri = 0;
this.ci = 0;
}
multiple() {
return this.range.multiple();
}
setIndexes(ri, ci) {
this.ri = ri;
this.ci = ci;
}
size() {
return this.range.size();
}
}