Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/toastr

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/toastr - npm Package Compare versions

Comparing version 2.1.38 to 2.1.39

76

toastr/index.d.ts

@@ -16,3 +16,3 @@ // Type definitions for Toastr 2.1.3

*/
showEasing?: string;
showEasing?: string | undefined;
/**

@@ -23,3 +23,3 @@ * Optionally override the animation easing to show or hide the toasts.

*/
hideEasing?: string;
hideEasing?: string | undefined;
/**

@@ -30,3 +30,3 @@ * Use the jQuery show method of your choice.

*/
showMethod?: string;
showMethod?: string | undefined;
/**

@@ -37,3 +37,3 @@ * Use the jQuery hide method of your choice.

*/
hideMethod?: string;
hideMethod?: string | undefined;
/**

@@ -43,3 +43,3 @@ * Should a close button be shown?

*/
closeButton?: boolean;
closeButton?: boolean | undefined;
/**

@@ -49,3 +49,3 @@ * CSS class the close button will be given.

*/
closeClass?: string;
closeClass?: string | undefined;
/**

@@ -56,3 +56,3 @@ * Time in milliseconds the toast should take to hide, when the close button is clicked.

*/
closeDuration?: number;
closeDuration?: number | undefined;
/**

@@ -64,3 +64,3 @@ * The animation easing while hiding the toast, when the close button is clicked.

*/
closeEasing?: string;
closeEasing?: string | undefined;
/**

@@ -72,3 +72,3 @@ * Use the jQuery show/hide method of your choice, when the close button is clicked.

*/
closeMethod?: string;
closeMethod?: string | undefined;
/**

@@ -78,7 +78,7 @@ * Set to false so that the toast hides event if hovered.

*/
closeOnHover?: boolean;
closeOnHover?: boolean | undefined;
/**
* Html for the close button.
*/
closeHtml?: string;
closeHtml?: string | undefined;
/**

@@ -89,3 +89,3 @@ * onCloseClick function callback, fired when the close button is clicked.

*/
onCloseClick?: (ev: JQueryMouseEventObject) => void;
onCloseClick?: ((ev: JQueryMouseEventObject) => void) | undefined;
/**

@@ -95,3 +95,3 @@ * Should clicking on toast dismiss it?

*/
tapToDismiss?: boolean;
tapToDismiss?: boolean | undefined;
/**

@@ -101,3 +101,3 @@ * CSS class the toast element will be given.

*/
toastClass?: string;
toastClass?: string | undefined;
/**

@@ -107,3 +107,3 @@ * Id toast container will be given.

*/
containerId?: string;
containerId?: string | undefined;
/**

@@ -113,3 +113,3 @@ * Should debug details be outputted to the console?

*/
debug?: boolean;
debug?: boolean | undefined;
/**

@@ -119,3 +119,3 @@ * Time in milliseconds the toast should take to show.

*/
showDuration?: number;
showDuration?: number | undefined;
/**

@@ -125,3 +125,3 @@ * onShown function callback.

*/
onShown?: () => void;
onShown?: (() => void) | undefined;
/**

@@ -131,3 +131,3 @@ * Time in milliseconds the toast should take to hide.

*/
hideDuration?: number;
hideDuration?: number | undefined;
/**

@@ -137,3 +137,3 @@ * onHidden function callback.

*/
onHidden?: () => void;
onHidden?: (() => void) | undefined;
/**

@@ -144,3 +144,3 @@ * Time in milliseconds the toast should be displayed after leaving mouse over.

*/
extendedTimeOut?: number;
extendedTimeOut?: number | undefined;
/**

@@ -170,3 +170,3 @@ * If specified, you must provide all classes.

warning: string;
};
} | undefined;
/**

@@ -176,3 +176,3 @@ * Icon to use for toast.

*/
iconClass?: string;
iconClass?: string | undefined;
/**

@@ -185,3 +185,3 @@ * Where toast should be displayed.

*/
positionClass?: string;
positionClass?: string | undefined;
/**

@@ -192,3 +192,3 @@ * Time in milliseconds that the toast should be displayed.

*/
timeOut?: number;
timeOut?: number | undefined;
/**

@@ -198,3 +198,3 @@ * CSS class the title element will be given.

*/
titleClass?: string;
titleClass?: string | undefined;
/**

@@ -204,3 +204,3 @@ * CSS class the message element will be given.

*/
messageClass?: string;
messageClass?: string | undefined;
/**

@@ -210,3 +210,3 @@ * Set newest toast to appear on top.

*/
newestOnTop?: boolean;
newestOnTop?: boolean | undefined;
/**

@@ -216,3 +216,3 @@ * The element to put the toastr container

*/
target?: string;
target?: string | undefined;
/**

@@ -223,3 +223,3 @@ * Rather than having identical toasts stack, set the preventDuplicates property to true.

*/
preventDuplicates?: boolean;
preventDuplicates?: boolean | undefined;
/**

@@ -229,3 +229,3 @@ * Visually indicates how long before a toast expires.

*/
progressBar?: boolean;
progressBar?: boolean | undefined;
/**

@@ -235,3 +235,3 @@ * CSS class the progressbar element will be given.

*/
progressClass?: string;
progressClass?: string | undefined;
/**

@@ -241,3 +241,3 @@ * Function to execute on toast click. Closing cannot be prevented by ev.stopPropagation() etc.

*/
onclick?: (ev: JQueryMouseEventObject) => void;
onclick?: ((ev: JQueryMouseEventObject) => void) | undefined;
/**

@@ -247,3 +247,3 @@ * Should the title and message text be escaped?

*/
escapeHtml?: boolean;
escapeHtml?: boolean | undefined;
/**

@@ -253,3 +253,3 @@ * Flip the toastr to be displayed properly for right-to-left languages.

*/
rtl?: boolean;
rtl?: boolean | undefined;
}

@@ -286,7 +286,7 @@

*/
title?: string;
title?: string | undefined;
/**
* Any override options specified when the toast was created.
*/
optionsOverride?: ToastrOptions;
optionsOverride?: ToastrOptions | undefined;
}

@@ -310,3 +310,3 @@

*/
endTime?: Date;
endTime?: Date | undefined;
/**

@@ -313,0 +313,0 @@ * The toastr options.

{
"name": "@types/toastr",
"version": "2.1.38",
"version": "2.1.39",
"description": "TypeScript definitions for Toastr",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/toastr",
"license": "MIT",

@@ -24,4 +25,4 @@ "contributors": [

},
"typesPublisherContentHash": "f2eabb702e04c46d78ef137d4805059e38e3bc14bcb0ab1f3ee89893347bdd9e",
"typeScriptVersion": "3.0"
"typesPublisherContentHash": "1228d8fff713d5f818431bf70bafce000a57491b232f44292c1a4a1c3f4ce4be",
"typeScriptVersion": "3.6"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Fri, 15 May 2020 13:12:48 GMT
* Last updated: Fri, 02 Jul 2021 19:37:12 GMT
* Dependencies: [@types/jquery](https://npmjs.com/package/@types/jquery)

@@ -14,0 +14,0 @@ * Global values: `toastr`

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc