Documentation: https://blueprintjs.com/docs/#core/components/toast
new()Toaster$new(
toasterId = incrementToasterId(),
session = shiny::getDefaultReactiveDomain(),
...
)toasterIdUnique number - needed to use more than one toaster
sessionShiny session object
...Parameters passed to Toaster component
A new Toaster instance.
show()Shows a new toast to the user, or updates an existing toast corresponding to the provided key
Toaster$show(..., key = NULL)...Parameters passed to Toaster component
keyA key of toast to be shown/dismissed
Nothing. This method is called for side effects.
clear()Dismiss all toasts instantly
Toaster$clear()Nothing. This method is called for side effects.
dismiss()Dismiss the given toast instantly
Toaster$dismiss(key)keyA key of toast to be shown/dismissed
Nothing. This method is called for side effects.