mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Update toastr.d.ts
Add target in options
This commit is contained in:
Vendored
+12
-11
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user