@types/jquery-mouse-exit
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

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.

/@types/jquery-mouse-exit/

    Package Sidebar

    Install

    npm i @types/jquery-mouse-exit

    Weekly Downloads

    6

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    3.61 kB

    Total Files

    5

    Last publish

    Collaborators

    • types