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

1.5.6 • Public • Published

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

/// <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: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: @types/jquery

Credits

These definitions were written by Sergei Dorogin.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/jquery.notify

Weekly Downloads

132

Version

1.5.6

License

MIT

Unpacked Size

4.41 kB

Total Files

5

Last publish

Collaborators

  • types