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
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 0939 GMT
- Dependencies: none
Credits
These definitions were written by .