angular-toastr icon indicating copy to clipboard operation
angular-toastr copied to clipboard

Differ between close with "Close Button" and "Close on Tap"

Open projectX21 opened this issue 9 years ago • 0 comments

Hello, I've upgraded from Version 1.4.1 to 1.6 and detected, that the logic of the "close on tap" functionality has changed. The parameter in the callback "onHidden" was undefined in V 1.4.1, when the user clicks the close icon. Otherwise if the user clicks on the toastr itself, this parameter was "true". So I could determine if the user clicks the close button or not.

But now it doesn't matter if the user clicks the close botton or the entire toastr, this callback returns every time "true" (which means is clicked).

Is there a new feature to differentiate between those two processes?

Thank you

projectX21 avatar Feb 15 '16 10:02 projectX21