Files
DefinitelyTyped/jquery.jnotify/jquery.jnotify.d.ts
2013-08-07 16:59:39 +03:00

25 lines
665 B
TypeScript

// Typescript type definitions for jQuery.jNotify 1.0 by Fabio Franzini
// Project: http://jnotify.codeplex.com
// Definitions by: James Curran <https://github.com/jamescurran/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path='../jquery/jquery.d.ts'/>
interface JNotifyInitOptions {
oneAtTime?: boolean;
appendType?: string;
}
interface JNotifyOptions {
text?: string;
type?: string;
showIcon?: boolean;
permanent?: boolean;
disappearTime?: number;
}
interface JQuery {
jnotifyInizialize(options?: JNotifyInitOptions);
jnotifyAddMessage(options?: JNotifyOptions);
}