@types/jquery-toast-plugin
Advanced tools
Comparing version 1.3.3 to 1.3.4
@@ -17,3 +17,3 @@ // Type definitions for jquery-toast-plugin 1.3 | ||
heading?: string | undefined; | ||
showHideTransition?: 'fade' | 'slide' | 'plain' | undefined; | ||
showHideTransition?: "fade" | "slide" | "plain" | undefined; | ||
allowToastClose?: boolean | undefined; | ||
@@ -24,7 +24,16 @@ hideAfter?: number | false | undefined; | ||
stack?: number | false | undefined; | ||
position?: 'bottom-left' | 'bottom-right' | 'bottom-center' | 'top-right' | 'top-left' | 'top-center' | 'mid-center' | CustomPosition | undefined; | ||
position?: | ||
| "bottom-left" | ||
| "bottom-right" | ||
| "bottom-center" | ||
| "top-right" | ||
| "top-left" | ||
| "top-center" | ||
| "mid-center" | ||
| CustomPosition | ||
| undefined; | ||
bgColor?: string | undefined; | ||
textColor?: string | undefined; | ||
textAlign?: 'left' | 'right' | 'center' | undefined; | ||
icon?: 'info' | 'warning' | 'error' | 'success' | undefined; | ||
textAlign?: "left" | "right" | "center" | undefined; | ||
icon?: "info" | "warning" | "error" | "success" | undefined; | ||
beforeShow?: (() => any) | undefined; | ||
@@ -37,6 +46,6 @@ afterShown?: (() => any) | undefined; | ||
interface CustomPosition { | ||
left: number | 'auto'; | ||
right: number | 'auto'; | ||
top: number | 'auto'; | ||
bottom: number | 'auto'; | ||
left: number | "auto"; | ||
right: number | "auto"; | ||
top: number | "auto"; | ||
bottom: number | "auto"; | ||
} |
{ | ||
"name": "@types/jquery-toast-plugin", | ||
"version": "1.3.3", | ||
"version": "1.3.4", | ||
"description": "TypeScript definitions for jquery-toast-plugin", | ||
@@ -30,4 +30,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery-toast-plugin", | ||
}, | ||
"typesPublisherContentHash": "805b6b6cdea8a3a44e8147671d0b59a39b56b803bf5781efd2998e4d9480afe3", | ||
"typeScriptVersion": "3.6" | ||
"typesPublisherContentHash": "e39f74b07599fe6c8ea33d6843774fc977865aa2e851a79dd6b82f056217f453", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -27,3 +27,3 @@ # Installation | ||
heading?: string | undefined; | ||
showHideTransition?: 'fade' | 'slide' | 'plain' | undefined; | ||
showHideTransition?: "fade" | "slide" | "plain" | undefined; | ||
allowToastClose?: boolean | undefined; | ||
@@ -34,7 +34,16 @@ hideAfter?: number | false | undefined; | ||
stack?: number | false | undefined; | ||
position?: 'bottom-left' | 'bottom-right' | 'bottom-center' | 'top-right' | 'top-left' | 'top-center' | 'mid-center' | CustomPosition | undefined; | ||
position?: | ||
| "bottom-left" | ||
| "bottom-right" | ||
| "bottom-center" | ||
| "top-right" | ||
| "top-left" | ||
| "top-center" | ||
| "mid-center" | ||
| CustomPosition | ||
| undefined; | ||
bgColor?: string | undefined; | ||
textColor?: string | undefined; | ||
textAlign?: 'left' | 'right' | 'center' | undefined; | ||
icon?: 'info' | 'warning' | 'error' | 'success' | undefined; | ||
textAlign?: "left" | "right" | "center" | undefined; | ||
icon?: "info" | "warning" | "error" | "success" | undefined; | ||
beforeShow?: (() => any) | undefined; | ||
@@ -47,6 +56,6 @@ afterShown?: (() => any) | undefined; | ||
interface CustomPosition { | ||
left: number | 'auto'; | ||
right: number | 'auto'; | ||
top: number | 'auto'; | ||
bottom: number | 'auto'; | ||
left: number | "auto"; | ||
right: number | "auto"; | ||
top: number | "auto"; | ||
bottom: number | "auto"; | ||
} | ||
@@ -57,3 +66,3 @@ | ||
### Additional Details | ||
* Last updated: Thu, 08 Jul 2021 16:22:31 GMT | ||
* Last updated: Fri, 15 Sep 2023 20:36:37 GMT | ||
* Dependencies: [@types/jquery](https://npmjs.com/package/@types/jquery) | ||
@@ -60,0 +69,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6053
44
69