1.2.4 • Published 6 months ago

@types/p-loading v1.2.4

Weekly downloads
23
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for p-loading 1.2
// Project: http://joseshiru.github.io/p-loading/
// Definitions by: Soner Köksal <https://github.com/renjfk>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

/// <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: Thu, 08 Jul 2021 20:19:14 GMT
  • Dependencies: @types/jquery
  • Global values: none

Credits

These definitions were written by Soner Köksal.

1.2.4

6 months ago

1.2.3

7 months ago

1.2.2

8 months ago

1.2.1

3 years ago

1.2.0

6 years ago