Closed danielkaiser80 closed 4 years ago
…se automatically.
The code / documentation made me think, that it was intended to have such non-closing toasts; but as 0 is falsy, this was not possible without a trick (setting the options again after creating the toastify object).
Yeah, the || 3000 trick to set a default value doesn't work with 0. I think that -1 is counter-intuitive
|| 3000
…se automatically.
The code / documentation made me think, that it was intended to have such non-closing toasts; but as 0 is falsy, this was not possible without a trick (setting the options again after creating the toastify object).