Added definition file for jQuery.jNotify

This commit is contained in:
James Curran
2013-01-13 21:55:04 -05:00
parent f0305577e0
commit 034c6c9a0e

29
jquery.jnotify/jquery.jnotify.d.ts vendored Normal file
View File

@@ -0,0 +1,29 @@
// Typescript type definitions for jQuery.jNotify v1 by Fabio Franzini
// Project: http://jnotify.codeplex.com
// Definitions by: James Curran <https://github.com/jamescurran/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
// To Use add line ///<reference path='jquery.jnotify.d.ts'/>
export interface JNotifyInitOptions
{
oneAtTime:bool;
appendType:string;
}
export interface JNotifyOptions
{
text?:string;
type?: string;
showIcon? : bool;
permanent?: bool;
disappearTime?: number;
}
interface JQuery
{
jnotifyInizialize(options?: JNotifyInitOptions ) ;
jnotifyAddMessage(options?: JNotifyOptions ) ;
}