Methods
Arguments
toasterId
Unique number - needed to use more than one toaster
session
Shiny session object
...
Parameters passed to Toaster
component
Returns
A new Toaster
instance.
Shows a new toast to the user, or updates an existing toast
corresponding to the provided key
Usage
Toaster$show(..., key = NULL)
Arguments
...
Parameters passed to Toaster
component
key
A key of toast to be shown/dismissed
Returns
Nothing. This method is called for side effects.
Method clear()
Dismiss all toasts instantly
Returns
Nothing. This method is called for side effects.
Method dismiss()
Dismiss the given toast instantly
Arguments
key
A key of toast to be shown/dismissed
Returns
Nothing. This method is called for side effects.