@types/jquery-toast-plugin
Advanced tools
Comparing version 1.3.0 to 1.3.1
// Type definitions for jquery-toast-plugin 1.3 | ||
// Project: https://github.com/kamranahmedse/jquery-toast-plugin | ||
// Definitions by: Viqas Hussain <https://github.com/viqashussain> | ||
// Andrew Stegmaier <https://github.com/astegmaier> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -16,13 +17,13 @@ // TypeScript Version: 2.8 | ||
heading?: string; | ||
showHideTransition?: string; | ||
showHideTransition?: 'fade' | 'slide' | 'plain'; | ||
allowToastClose?: boolean; | ||
hideAfter?: number; | ||
hideAfter?: number | false; | ||
loader?: boolean; | ||
loaderBg?: string; | ||
stack?: number; | ||
position?: string; | ||
bgColor?: boolean; | ||
textColor?: boolean; | ||
textAlign?: string; | ||
icon?: boolean; | ||
stack?: number | false; | ||
position?: 'bottom-left' | 'bottom-right' | 'bottom-center' | 'top-right' | 'top-left' | 'top-center' | 'mid-center' | CustomPosition; | ||
bgColor?: string; | ||
textColor?: string; | ||
textAlign?: 'left' | 'right' | 'center'; | ||
icon?: 'info' | 'warning' | 'error' | 'success'; | ||
beforeShow?: () => any; | ||
@@ -33,1 +34,8 @@ afterShown?: () => any; | ||
} | ||
interface CustomPosition { | ||
left: number | 'auto'; | ||
right: number | 'auto'; | ||
top: number | 'auto'; | ||
bottom: number | 'auto'; | ||
} |
{ | ||
"name": "@types/jquery-toast-plugin", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "TypeScript definitions for jquery-toast-plugin", | ||
@@ -11,2 +11,7 @@ "license": "MIT", | ||
"githubUsername": "viqashussain" | ||
}, | ||
{ | ||
"name": "Andrew Stegmaier", | ||
"url": "https://github.com/astegmaier", | ||
"githubUsername": "astegmaier" | ||
} | ||
@@ -23,4 +28,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "3577090621a5d91030f86643b23a54608c26366b3fd3c199c1db39a16ae53d0f", | ||
"typesPublisherContentHash": "90b7b741dd668ce4205fa1f82a79f98214fdc94a21910874050268b3f7581e45", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Fri, 22 Jun 2018 00:08:12 GMT | ||
* Last updated: Sat, 25 Aug 2018 01:04:12 GMT | ||
* Dependencies: jquery | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Viqas Hussain <https://github.com/viqashussain>. | ||
These definitions were written by Viqas Hussain <https://github.com/viqashussain>, Andrew Stegmaier <https://github.com/astegmaier>. |
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
3840
35