Open elmoaaron opened 6 years ago
Some options do work, but I have closeButton doesn't seem to be one of them.
It is working for me. toastr.options = {"closeButton": true}; works as expected when placed in my application.js file. I have not come across an option that does not work yet. I will try to help if I can.
I have tried many things and nothing.
I couldn't get it to work with a Rails 5 project either.
I just used the npm version instead which does work with the options. Pretty easy to get npm going with your Rails project: https://ricostacruz.com/til/npm-in-rails
It is not posible to customize toastr.options.closeButton = true; any option do not work.