# @types/bootstrap-notify

> TypeScript definitions for bootstrap-notify

Latest version **3.1.38** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/bootstrap-notify
pnpm add @types/bootstrap-notify
yarn add @types/bootstrap-notify
bun add @types/bootstrap-notify
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 3.1.38 |
| Published | 2023-11-07 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 6.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51444 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/bootstrap-notify
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/bootstrap-notify
- npm.io page: https://npm.io/package/@types/bootstrap-notify

## Dependencies (1)

- [@types/jquery](https://npm.io/package/@types/jquery.md) *

## Recent versions

- 3.1.38 (latest) — 2023-11-07
- 3.1.36 (ts3.6) — 2021-07-08
- 3.1.35 (ts3.0) — 2020-05-15
- 3.1.34 (ts2.3) — 2019-03-05
- 3.1.30 (ts2.0) — 2016-10-05
- 3.1.37 — 2023-10-17
- 3.1.33 — 2017-12-14
- 3.1.32 — 2017-08-21
- 3.1.31 — 2017-06-15
- 3.1.29 — 2016-09-19
- 3.1.28 — 2016-07-14
- 3.1.27-alpha — 2016-07-08
- 3.1.26-alpha — 2016-07-03
- 3.1.25-alpha — 2016-07-02
- 3.1.24-alpha — 2016-07-01
- … 5 more at https://npm.io/package/@types/bootstrap-notify/versions

## README

# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/bootstrap-notify/index.d.ts)
````ts
/// <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: Mon, 06 Nov 2023 22:41:05 GMT
 * Dependencies: [@types/jquery](https://npmjs.com/package/@types/jquery)

# Credits
These definitions were written by [Blake Niemyjski](https://github.com/niemyjski), [Robert McIntosh](https://github.com/mouse0270), and [Robert Voica](https://github.com/robert-voica).

---
_Source: https://npm.io/package/@types/bootstrap-notify · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
