I have set up notifications on my project using Toastr, however, my custom options aren't being respected.
Below is my JavaScript where I have imported Toastr, set the config inside the toastr.options object as per the documentation, yet my options are not being used at all. I have commented out the TypeBasedOverrides for now in just trying to get the options working.
Any idea where I'm going wrong in getting them implemented? At the moment, both the test notifications are fading out automatically 4 seconds in.
I have set up notifications on my project using Toastr, however, my custom options aren't being respected.
Below is my JavaScript where I have imported Toastr, set the config inside the
toastr.options
object as per the documentation, yet my options are not being used at all. I have commented out theTypeBasedOverrides
for now in just trying to get the options working.Any idea where I'm going wrong in getting them implemented? At the moment, both the test notifications are fading out automatically 4 seconds in.