mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 20:39:17 +08:00
Added definition file for jQuery.jNotify
This commit is contained in:
29
jquery.jnotify/jquery.jnotify.d.ts
vendored
Normal file
29
jquery.jnotify/jquery.jnotify.d.ts
vendored
Normal 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 ) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user