Update toastr.d.ts

Add target in options
This commit is contained in:
kwiateusz
2015-11-07 20:34:16 +01:00
parent be07b0617c
commit 7a4b732705
+12 -11
View File
@@ -113,17 +113,18 @@ interface ToastrOptions {
* Set newest toast to appear on top
**/
newestOnTop?: boolean;
/**
* Rather than having identical toasts stack, set the preventDuplicates property to true. Duplicates are matched to the previous toast based on their message content.
*/
preventDuplicates?: boolean;
/**
* Visually indicates how long before a toast expires.
*/
progressBar?: boolean;
/**
* The element to put the toastr container
**/
target?: string;
/**
* Rather than having identical toasts stack, set the preventDuplicates property to true. Duplicates are matched to the previous toast based on their message content.
*/
preventDuplicates?: boolean;
/**
* Visually indicates how long before a toast expires.
*/
progressBar?: boolean;
/**
* Function to execute on toast click
*/