mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge pull request #176 from jamescurran/master
Added file for jQuery.jNotify
This commit is contained in:
Vendored
+29
@@ -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 ) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user