npm.io
2.0.32 • Published 2 years ago

@types/pgwmodal

Licence
MIT
Version
2.0.32
Deps
0
Size
4 kB
Vulns
0
Weekly
0
Stars
51.4K

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 .