Files
DefinitelyTyped/types/jquery-notifier/index.d.ts
2017-11-24 09:11:19 +01:00

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;
}