Files
cattleData/admin-system/node_modules/element-plus/lib/directives/mousewheel/index.d.ts

12 lines
469 B
TypeScript

import type { ObjectDirective } from 'vue';
import type { NormalizedWheelEvent } from 'normalize-wheel-es';
export 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>;
export default Mousewheel;