# @types/pgwmodal

> TypeScript definitions for pgwmodal

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

## Install

```sh
npm install @types/pgwmodal
pnpm add @types/pgwmodal
yarn add @types/pgwmodal
bun add @types/pgwmodal
```

## 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 | 2.0.32 |
| Published | 2023-11-07 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51441 |
| Maintainers | types |

## Links

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

## Recent versions

- 2.0.32 (latest) — 2023-11-07
- 2.0.29 (ts3.8) — 2021-12-24
- 2.0.28 (ts3.6) — 2021-07-08
- 2.0.27 (ts2.0) — 2016-09-19
- 2.0.31 — 2023-10-18
- 2.0.30 — 2023-09-24
- 2.0.26 — 2016-07-14
- 2.0.25-alpha — 2016-07-08
- 2.0.24-alpha — 2016-07-04
- 2.0.23-alpha — 2016-07-02
- 2.0.22-alpha — 2016-07-01
- 2.0.21-alpha — 2016-07-01
- 2.0.20-alpha — 2016-05-25
- 2.0.19-alpha — 2016-05-20
- 2.0.14-alpha — 2016-05-19
- … 1 more at https://npm.io/package/@types/pgwmodal/versions

## README

# Installation
> `npm install --save @types/pgwmodal`

# Summary
This package contains type definitions for pgwmodal (http://pgwjs.com/pgwmodal/).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pgwmodal.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pgwmodal/index.d.ts)
````ts
interface PgwModalOption {
    content?: string | undefined;
    target?: string | undefined;
    url?: string | undefined;
    title?: string | undefined;
    titleBar?: boolean | undefined;
    mainClassName?: string | undefined;
    backdropClassName?: string | undefined;
    maxWidth?: number | undefined;
    angular?: boolean | undefined;
    modalData?: any;
    ajaxOptions?: any;
    closable?: boolean | undefined;
    closeContent?: string | undefined;
    closeOnEscape?: boolean | undefined;
    closeOnBackgroundClick?: boolean | undefined;
    loadingContent?: string | undefined;
    errorContent?: string | undefined;
    pushContent?: string | undefined;
}

interface PgwModalMethod {
    (option: PgwModalOption): boolean;
    (action: string): any;
    (action: "close"): boolean;
    (action: "reposition"): boolean;
    (action: "getData"): any;
    (action: "isOpen"): boolean;
}

interface ZeptoStatic {
    pgwModal: PgwModalMethod;
}

interface JQueryStatic {
    pgwModal: PgwModalMethod;
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: none

# Credits
These definitions were written by .

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