DefinitelyTyped/types/jquery.jnotify/index.d.ts
2017-08-20 15:37:53 -07:00

27 lines
658 B
TypeScript

// Type definitions for jQuery.jNotify 1.0
// Project: http://jnotify.codeplex.com
// Definitions by: James Curran <https://github.com/jamescurran>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
// Project by: Fabio Franzini
/// <reference types="jquery"/>
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);
}