Toaster | R Documentation |
Documentation: https://blueprintjs.com/docs/#core/components/toast
new()
Toaster$new( toasterId = incrementToasterId(), session = shiny::getDefaultReactiveDomain(), ... )
toasterId
Unique number - needed to use more than one toaster
session
Shiny 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
key
A 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)
key
A key of toast to be shown/dismissed
Nothing. This method is called for side effects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.