@antv/s2
Version:
effective spreadsheet render core lib
18 lines (17 loc) • 675 B
TypeScript
import { type CellMeta } from '../common';
import type { SpreadSheet } from '../sheet-type';
import { BaseEvent, type BaseEventImplement } from './base-interaction';
export declare class SelectedCellMove extends BaseEvent implements BaseEventImplement {
startCell: CellMeta | null;
endCell: CellMeta | null;
constructor(spreadsheet: SpreadSheet);
private isCanvasEffect;
bindEvents(): void;
private getCellMetaByViewMeta;
private handleMove;
private generateCellMeta;
private getRangeCells;
private getMoveInfo;
private calculateOffset;
scrollToActiveCell(spreadsheet: SpreadSheet, rowIndex: number, colIndex: number): void;
}