3.1.38 • Published 2 years ago
@types/bootstrap-notify v3.1.38
Installation
npm install --save @types/bootstrap-notify
Summary
This package contains type definitions for bootstrap-notify (http://bootstrap-notify.remabledesigns.com/).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/bootstrap-notify.
index.d.ts
// Type definitions for bootstrap-notify v3.1.3
// Project: http://bootstrap-notify.remabledesigns.com/
// Definitions by: Blake Niemyjski <https://github.com/niemyjski>, Robert McIntosh <https://github.com/mouse0270>, Robert Voica <https://github.com/robert-voica>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
/// <reference types="jquery" />
interface JQueryStatic {
    notify(message: string): NotifyReturn;
    notify(opts: NotifyOptions, settings?: NotifySettings): NotifyReturn;
    notifyDefaults(settings: NotifySettings): void;
    notifyClose(): void;
    notifyClose(command: string): void;
}
interface NotifyOptions {
    message: string;
    title?: string | undefined;
    icon?: string | undefined;
    url?: string | undefined;
    target?: string | undefined;
}
interface NotifySettings {
    element?: string | undefined;
    position?: string | undefined;
    type?: string | undefined;
    allow_dismiss?: boolean | undefined;
    allow_duplicates?: boolean | undefined;
    newest_on_top?: boolean | undefined;
    showProgressbar?: boolean | undefined;
    placement?: {
        from?: string | undefined;
        align?: string | undefined;
    } | undefined;
    offset?: number | {
        x?: number | undefined;
        y?: number | undefined;
    } | undefined;
    spacing?: number | undefined;
    z_index?: number | undefined;
    delay?: number | undefined;
    timer?: number | undefined;
    url_target?: string | undefined;
    mouse_over?: string | undefined;
    animate?: {
        enter?: string | undefined;
        exit?: string | undefined;
    } | undefined;
    onShow?: (($ele: JQuery) => void) | undefined;
    onShown?: (($ele: JQuery) => void) | undefined;
    onClose?: (($ele: JQuery) => void) | undefined;
    onClosed?: (($ele: JQuery) => void) | undefined;
    icon_type?: string | undefined;
    template?: string | undefined;
}
interface NotifyReturn {
    $ele: JQuery;
    close: () => void;
    update: (command: string, update: any) => void;
}Additional Details
- Last updated: Thu, 08 Jul 2021 00:35:33 GMT
 - Dependencies: @types/jquery
 - Global values: none
 
Credits
These definitions were written by Blake Niemyjski, Robert McIntosh, and Robert Voica.
3.1.38
2 years ago
3.1.37
2 years ago
3.1.36
4 years ago
3.1.35
5 years ago
3.1.34
7 years ago
3.1.33
8 years ago
3.1.32
8 years ago
3.1.31
8 years ago
3.1.30
9 years ago
3.1.29
9 years ago
3.1.28
9 years ago
3.1.27-alpha
9 years ago
3.1.26-alpha
9 years ago
3.1.25-alpha
9 years ago
3.1.24-alpha
9 years ago
3.1.23-alpha
9 years ago
3.1.22-alpha
9 years ago
3.1.21-alpha
9 years ago
3.1.16-alpha
9 years ago
3.1.15-alpha
9 years ago