diff --git a/typescript/core/utils/events/wheelhandler.ts b/typescript/core/utils/events/wheelhandler.ts index ca4e8f1929..85b3a6c01f 100644 --- a/typescript/core/utils/events/wheelhandler.ts +++ b/typescript/core/utils/events/wheelhandler.ts @@ -1,4 +1,10 @@ export declare class WheelHandler { + constructor( + onWheel: (deltaX: number, deltaY: number) => void, + handleScrollX?: boolean | ((deltaX: number, deltaY: number) => boolean), + handleScrollY?: boolean | ((deltaY: number, deltaX: number) => boolean), + stopPropagation?: boolean | (() => void) + ); onWheel(event: WheelEvent): void _didWheel(): void } \ No newline at end of file