Installation
npm install --save @types/jquery-mouse-exit
Summary
This package contains type definitions for jquery-mouse-exit (https://github.com/makeup-jquery/jquery-mouse-exit).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery-mouse-exit.
index.d.ts
/// <reference types="jquery" />
export type Options = Partial<{
delay: number;
}>;
export type FocusElements = Partial<{
lostFocus: HTMLElement;
gainedFocus: HTMLElement;
}>;
declare global {
interface JQuery {
mouseExit(options?: Options): JQuery;
on(
event: "mouseExit",
handler: (event: JQuery.TriggeredEvent<HTMLElement>, data: FocusElements) => void,
): JQuery;
}
}
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: @types/jquery
Credits
These definitions were written by Anderson Friaça.