Browse Source

fix: 修改描述

es6
iapyang 4 years ago
parent
commit
3557c3319d
  1. 6
      typescript/core/utils/events/wheelhandler.ts

6
typescript/core/utils/events/wheelhandler.ts

@ -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…
Cancel
Save