1.5.6 • Published 2 years ago

@types/jquery.notify v1.5.6

Weekly downloads
29
License
MIT
Repository
github
Last release
2 years ago

Installation

npm install --save @types/jquery.notify

Summary

This package contains type definitions for jquery.notify (https://github.com/ehynds/jquery-notify (jQuery Notify UI Widget by Eric Hynds)).

Details

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

index.d.ts

// Type definitions for non-npm package jquery.notify 1.5
// Project: https://github.com/ehynds/jquery-notify (jQuery Notify UI Widget by Eric Hynds)
// Definitions by: Sergei Dorogin <https://github.com/evil-shrike>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

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

interface JQueryNotifyOptions {
    close?: (() => void) | undefined;
    open?: (() => void) | undefined;
    custom?: boolean | undefined;
    disabled?: boolean | undefined;
    expires?: number | undefined;
    queue?: boolean | undefined;
    speed?: number | undefined;
    stack?: "below" | "above" | undefined;
}
interface JQuery {
    notify(options?: JQueryNotifyOptions): JQueryNotifyWidget;
    notify(method: string, template: number, params?: object, opts?: JQueryNotifyOptions): JQueryNotifyInstance;
    notify(method: string, params?: object, opts?: JQueryNotifyOptions): JQueryNotifyInstance;
}
interface JQueryNotifyInstance {
    element: JQuery;
    isOpen: boolean;
    options: JQueryNotifyOptions;
    close(): void;
    open(): void;
}
interface JQueryNotifyWidget extends JQuery  {
}

Additional Details

  • Last updated: Thu, 08 Jul 2021 16:22:38 GMT
  • Dependencies: @types/jquery
  • Global values: none

Credits

These definitions were written by Sergei Dorogin.

1.5.6

2 years ago

1.5.5

2 years ago

1.5.4

2 years ago

1.5.3

4 years ago

1.5.2

5 years ago

1.5.1

6 years ago

1.5.0

8 years ago