# @types/p-loading

> TypeScript definitions for p-loading

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

## Install

```sh
npm install @types/p-loading
pnpm add @types/p-loading
yarn add @types/p-loading
bun add @types/p-loading
```

## 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.2.4 |
| Published | 2023-11-07 |
| First published | 2018-01-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51419 |
| Maintainers | types |

## Links

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

## Dependencies (1)

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

## Recent versions

- 1.2.4 (latest) — 2023-11-07
- 1.2.1 (ts3.6) — 2021-07-08
- 1.2.0 (ts3.1) — 2018-01-17
- 1.2.3 — 2023-10-18
- 1.2.2 — 2023-09-24

## README

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

interface PLoadingOptions {
    action?: "show" | "hide" | "destroy" | undefined;
    maskColor?: string | undefined;
    containerHTML?: string | undefined;
    containerAttrs?: object | undefined;
    containerClass?: string | undefined;
    spinnerHTML?: string | undefined;
    spinnerAttrs?: object | undefined;
    spinnerClass?: string | undefined;
    /**
     * @deprecated
     */
    onShowContainer?: (($pluginElement: JQuery, $container: JQuery) => void) | undefined;
    /**
     * @deprecated
     */
    onHideContainer?: (($pluginElement: JQuery, $container: JQuery) => void) | undefined;
    /**
     * @deprecated
     */
    onDestroyContainer?: (($container: JQuery) => void) | undefined;
    hideAnimation?: (($container: JQuery) => void) | undefined;
    showAnimation?: (($container: JQuery) => void) | undefined;
    destroyAfterHide?: boolean | undefined;
    idPrefix?: string | undefined;
    pluginNameSpace?: string | undefined;
    useAddOns?: string[] | undefined;
}

interface PLoading {
    (options: PLoadingOptions): void;

    defaults: PLoadingOptions;
}

interface JQuery {
    ploading: PLoading;
}

interface JQueryStatic {
    ploading: PLoading;
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: [@types/jquery](https://npmjs.com/package/@types/jquery)

# Credits
These definitions were written by [Soner Köksal](https://github.com/renjfk).

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