mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-07 23:37:35 +08:00
19 lines
608 B
TypeScript
19 lines
608 B
TypeScript
// Type definitions for notifier 1.0
|
|
// Project: https://github.com/allipierre/jquery-notifier
|
|
// Definitions by: Alli Pierre Yotti <https://github.com/allipierre>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
declare namespace notifier {
|
|
/**
|
|
* notifier.show(title, msg, type, icon, timeout);
|
|
* {title} title
|
|
* {msg} msg
|
|
* {type} type
|
|
* {icon} icon
|
|
* {timeout} timeout
|
|
*/
|
|
function show(title: string, msg: string, type: string, icon: string, timeout?: number): string | number;
|
|
|
|
function hide(notificationId: string | number): boolean;
|
|
}
|