# @types/jquery-alertable

> TypeScript definitions for jquery-alertable

Latest version **1.0.6** (published 2024-01-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/jquery-alertable
pnpm add @types/jquery-alertable
yarn add @types/jquery-alertable
bun add @types/jquery-alertable
```

## 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 | 1.0.6 |
| Published | 2024-01-30 |
| First published | 2016-10-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51443 |
| Maintainers | types |

## Links

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

## Dependencies (1)

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

## Recent versions

- 1.0.6 (latest) — 2024-01-30
- 1.0.5 (ts4.5) — 2023-11-07
- 1.0.3 (ts4.0) — 2021-07-08
- 1.0.2 (ts3.3) — 2017-06-15
- 1.0.1 (ts2.0) — 2016-10-05
- 1.0.4 — 2023-10-18

## README

# Installation
> `npm install --save @types/jquery-alertable`

# Summary
This package contains type definitions for jquery-alertable (https://github.com/claviska/jquery-alertable).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery-alertable.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery-alertable/index.d.ts)
````ts
/// <reference types="jquery"/>

interface JQueryStatic {
    alertable: Alertable;
}

interface Alertable {
    alert(message: string, options?: AlertableOptions): JQueryPromise<void>;
    confirm(message: string, options?: AlertableOptions): JQueryPromise<void>;
    prompt(message: string, options?: AlertableOptions): JQueryPromise<void>;
    defaults: AlertableOptions;
}

interface AlertableOptions {
    container?: string | undefined;
    html?: boolean | undefined;
    cancelButton?: string | undefined;
    okButton?: string | undefined;
    overlay?: string | undefined;
    prompt?: string | undefined;
    modal?: string | undefined;
    hide?: Function | undefined;
    show?: Function | undefined;
}

````

### Additional Details
 * Last updated: Tue, 30 Jan 2024 21:35:45 GMT
 * Dependencies: [@types/jquery](https://npmjs.com/package/@types/jquery)

# Credits
These definitions were written by [Steven Robertson](https://github.com/stever).

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