diff --git a/jquery.noty/jquery.noty.d.ts b/jquery.noty/jquery.noty.d.ts
index 9ec7d85e4f..88b0d0b7d1 100644
--- a/jquery.noty/jquery.noty.d.ts
+++ b/jquery.noty/jquery.noty.d.ts
@@ -7,19 +7,29 @@
///
interface NotyOptions {
- layout?: string;
- theme?: string;
- type?: string;
- text?: string;
- dismissQueue?: boolean;
- template?: string;
- animation?: NotyAnimationOptions;
- timeout?: number;
- force?: boolean;
- modal?: boolean;
- closeWith?: any[];
- callback?: NotyCallbackOptions;
- buttons?: any;
+ layout?: string;
+ theme?: string;
+ type?: string;
+ /** Text to show. Can be html or string. */
+ text?: string;
+ /** If you want to use queue feature set this true. */
+ dismissQueue?: boolean;
+ /** The note`s optional template like '
' */
+ template?: string;
+ animation?: NotyAnimationOptions;
+ /** Delay for closing event. Set false for sticky notifications */
+ timeout?: any;
+ /** Adds notification to the beginning of queue when set to true */
+ force?: boolean;
+ modal?: boolean;
+ /** You can set max visible notification for dismissQueue true option */
+ maxVisible?: number;
+ /** To close all notifications before show */
+ killer?: boolean;
+ closeWith?: any[];
+ callback?: NotyCallbackOptions;
+ /** An array of buttons or false to hide them */
+ buttons?: any;
}
interface NotyAnimationOptions {
@@ -39,6 +49,7 @@ interface NotyCallbackOptions {
interface NotyStatic {
(notyOptions: NotyOptions);
+ defaults: NotyOptions;
get(id: any);
close(id: any);