1.0.6 • Published 3 months ago

@types/jquery-alertable v1.0.6

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

Installation

npm install --save @types/jquery-alertable

Summary

This package contains type definitions for jquery-alertable (https://github.com/claviska/jquery-alertable).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery-alertable.

index.d.ts

// Type definitions for jquery-alertable 1.0.2
// Project: https://github.com/claviska/jquery-alertable
// Definitions by: Steven Robertson <https://github.com/stever>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

/// <reference types="jquery"/>

interface JQueryStatic {
    alertable: Alertable;
}

interface Alertable {
    alert(message: string, options?: AlertableOptions): JQueryPromise<void>;
    confirm(message: string, options?: AlertableOptions): JQueryPromise<void>;
    prompt(message: string, options?: AlertableOptions): JQueryPromise<void>;
    defaults: AlertableOptions;
}

interface AlertableOptions {
    container?: string | undefined;
    html?: boolean | undefined;
    cancelButton?: string | undefined;
    okButton?: string | undefined;
    overlay?: string | undefined;
    prompt?: string | undefined;
    modal?: string | undefined;
    hide?: Function | undefined;
    show?: Function | undefined;
}

Additional Details

  • Last updated: Thu, 08 Jul 2021 14:23:38 GMT
  • Dependencies: @types/jquery
  • Global values: none

Credits

These definitions were written by Steven Robertson.

1.0.6

3 months ago

1.0.5

6 months ago

1.0.4

7 months ago

1.0.3

3 years ago

1.0.2

7 years ago

1.0.1

8 years ago