Merge pull request #19665 from abbasmhd/master

Update jquery.pnotify
This commit is contained in:
Arthur Ozga
2017-09-15 10:14:37 -07:00
committed by GitHub
+19 -5
View File
@@ -30,7 +30,6 @@ interface PNotifyLabel {
stick?: string;
}
interface PNotifyconfirmButton {
text?: string;
addClass?: string;
@@ -192,9 +191,10 @@ interface PNotifyOptions {
*/
icon?: any;
/**
* The animation to use when displaying and hiding the notice. "none", "show", "fade", and "slide" are built in to jQuery. Others require jQuery UI. Use an object with effect_in and effect_out to use different effects.
*/
animation?: any;
* The animation to use when displaying and hiding the notice. "none" and "fade" are supported through CSS.
* Others are supported through the Animate module and Animate.css.
*/
animation?: string;
/**
* Speed at which the notice animates in and out. "slow", "def" or "normal", "fast" or number of milliseconds.
*/
@@ -323,8 +323,22 @@ interface PNotify {
interface PNotifyConstructor {
new (options?: PNotifyOptions): PNotify;
/**
* Remove all notices.
*/
removeAll(): void;
/**
* Remove all the notices in a stack.
* @param stack
*/
removeStack(stack: PNotifyStack): void;
/**
* Reposition the notices, optionally animating their movement.
*/
positionAll(animate?: boolean): void
}
declare var PNotify: PNotifyConstructor;