npm.io
1.0.2 • Published 2 years ago

@types/jquery-focusable

Licence
MIT
Version
1.0.2
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/jquery-focusable

Summary

This package contains type definitions for jquery-focusable (https://github.com/makeup-jquery/jquery-focusable).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery-focusable.

index.d.ts

/// <reference types="jquery" />

export type Options = Partial<{
    /**
     * Find elements with tabindex equal to -1
     */
    findNegativeTabindex: boolean;

    /**
     * Find elements with tabindex greater than 0
     */
    findPositiveTabindex: true;
}>;

declare global {
    interface JQuery {
        focusable(options?: Options): JQuery;
    }
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 0337 GMT
  • Dependencies: @types/jquery

Credits

These definitions were written by Anderson Friaça.