-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to add button click + event on a toater? #74
Comments
Check the README. You can add the You can't add directives into the message, that is pretty dangerous so I don't allow that. |
This is not the case since onHidden will call a function once the message will be close and, i added a button inside the template
|
You can't do that with this library. Supporting directives inside the toasts is highly insecure and can open a door for injections. I had to decide to not allow that. Sorry. |
@Foxandxss I am wondering are you allowing anchorScroll in toastr? I am trying to navigate to a section in my current screen with the toastr message. Can someone help me |
i'm trying to do the following:
It's not working, any suggestion how to add a callback function from a toaster?
The text was updated successfully, but these errors were encountered: