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
/// <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: Tue, 30 Jan 2024 21:35:45 GMT
- Dependencies: @types/jquery
Credits
These definitions were written by Steven Robertson.