Under Toastr customization, regarding passing custom options to an individual toast message call, it says:
The second option is to pass a third parameter (or second if you don't need a title). Let see some examples:
However, my testing confirms that this is not the case. If a title is omitted and the options object is passed as the second argument, it is ignored. If a title is not desired, the workaround is to pass an empty string.
I think passing an empty string is perfectly fine, I just wanted to note that, assuming I'm correct, the documentation should be slightly tweaked.
Thank you for this project! It is very helpful.
Under Toastr customization, regarding passing custom options to an individual toast message call, it says:
However, my testing confirms that this is not the case. If a title is omitted and the options object is passed as the second argument, it is ignored. If a title is not desired, the workaround is to pass an empty string.
I think passing an empty string is perfectly fine, I just wanted to note that, assuming I'm correct, the documentation should be slightly tweaked.
Thank you for this project! It is very helpful.