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

1.6.3 • Public • Published

Installation

npm install --save @types/jquery-gray

Summary

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

Details

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

index.d.ts

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

export type Classes = Partial<{
    fade: string;
}>;

export type Options = Partial<{
    fade: boolean;
    classes: Classes;
}>;

declare global {
    interface JQuery {
        gray(options?: Options): JQuery;
        toggleClass(className: "grayscale-off"): 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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/jquery-gray

Weekly Downloads

2

Version

1.6.3

License

MIT

Unpacked Size

3.28 kB

Total Files

5

Last publish

Collaborators

  • types