@adoratorio/hermes
Version:
A JS utility for scroll events normalization and management
5 lines • 339 B
TypeScript
import { Vec2, KeyMultipliers } from './declarations';
export declare function normalizeWheelDelta(event: any): Vec2;
export declare function normalizeKeyDelta(keycode: number, multiplier?: number | KeyMultipliers): Vec2;
export declare function getTouch(list: TouchList, id: number): Touch | undefined;
//# sourceMappingURL=utils.d.ts.map