iapyang
4 years ago
1 changed files with 6 additions and 0 deletions
@ -1,4 +1,10 @@ |
|||||||
export declare class WheelHandler { |
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 |
onWheel(event: WheelEvent): void |
||||||
_didWheel(): void |
_didWheel(): void |
||||||
} |
} |
Loading…
Reference in new issue