UNPKG

@antv/s2

Version:

effective spreadsheet render core lib

11 lines (10 loc) 427 B
import type { FederatedPointerEvent as GEvent, IEventTarget } from '@antv/g'; import type { Node } from '../../facet/layout/node'; import type { ViewMeta } from './basic'; import type { S2CellType } from './interaction'; export interface TargetCellInfo { target: S2CellType; event: GEvent; viewMeta: ViewMeta | Node; } export type CellEventTarget = GEvent['target'] | null | undefined | EventTarget | IEventTarget;