forked from p4b8lshcr/ChefTronic
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
483 B
12 lines
483 B
import type { ObjectDirective } from 'vue';
|
|
import type { NormalizedWheelEvent } from 'normalize-wheel-es';
|
|
export declare const SCOPE = "_Mousewheel";
|
|
export interface WheelElement extends HTMLElement {
|
|
[SCOPE]: null | {
|
|
wheelHandler?: (event: WheelEvent) => void;
|
|
};
|
|
}
|
|
export type MousewheelCallback = (e: WheelEvent, normalized: NormalizedWheelEvent) => void;
|
|
declare const Mousewheel: ObjectDirective<WheelElement, MousewheelCallback>;
|
|
export default Mousewheel;
|