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
/// <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
Credits
These definitions were written by Soner Köksal.