From 7a4b73270589c003e3e79ab2f0bd8bb022054653 Mon Sep 17 00:00:00 2001 From: kwiateusz Date: Sat, 7 Nov 2015 20:34:16 +0100 Subject: [PATCH] Update toastr.d.ts Add target in options --- toastr/toastr.d.ts | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/toastr/toastr.d.ts b/toastr/toastr.d.ts index 321177ec2..39be5a21b 100644 --- a/toastr/toastr.d.ts +++ b/toastr/toastr.d.ts @@ -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 */