Files
prop-data-guard/frontend/node_modules/element-plus/es/directives/mousewheel/index.d.ts
T
2026-04-22 17:07:33 +08:00

14 lines
563 B
TypeScript

import { ObjectDirective } from "vue";
import { NormalizedWheelEvent } from "normalize-wheel-es";
//#region ../../packages/directives/mousewheel/index.d.ts
declare const SCOPE = "_Mousewheel";
interface WheelElement extends HTMLElement {
[SCOPE]: null | {
wheelHandler?: (event: WheelEvent) => void;
};
}
type MousewheelCallback = (e: WheelEvent, normalized: NormalizedWheelEvent) => void;
declare const Mousewheel: ObjectDirective<WheelElement, MousewheelCallback>;
//#endregion
export { MousewheelCallback, SCOPE, WheelElement, Mousewheel as default };