Toastr: How to prevent fade out with sticky toast on mouseover?

SB2055 picture SB2055 · Jul 1, 2013 · Viewed 20.7k times · Source

I've been playing with toastr and have successfully set the timeout to 0 so the toast remains sticky, however the toast disappears when I mouse out of the toast. I'd like to override this so the toast only goes away if the user clicks it - ideal for toasts with lots of text. How can this be done?

Answer

John Papa picture John Papa · Jul 2, 2013

Set extendedTimeOut to 0 too. That will keep it sticky.