add `removeToast()` and `clearToast()` functions
Closed this issue · 2 comments
merlinoa commented
These functions should call the toastr.remove()
and toastr.clear()
methods in the toastr JavaScript library. They are useful for removing toasts messages after something happens. e.g. if you set the "timeOut' and "extendedTimeOut" options to 0, the toast will not be removed until either the user clicks the toast or it is removed with one of these methods.
phoward38 commented
- Add
keep_visible
argument toshowToast
, set toFALSE
as default- When
keep_visible=TRUE
, overwritestimeOut
&extendedTimeOut
values in list for.options
arg & sets to 0
- When