@antv/s2
Version:
effective spreadsheet render core lib
23 lines (22 loc) • 545 B
TypeScript
import EE from '@antv/event-emitter';
import type { Canvas } from '@antv/g';
/**
* 移动端滚动事件
* @see https://github.com/antvis/g-gesture/blob/next/src/event/wheel.ts
*/
export declare class WheelEvent extends EE {
private canvas;
private panning;
private preX;
private speedX;
private preY;
private speedY;
private lastMoveMS;
private raf;
constructor(canvas: Canvas);
private init;
private bindPointerDown;
private bindPointerMove;
private bindPointerUp;
destroy(): void;
}