Just a wrapper around shinytoastr::toastr functions
1 | show_toast(.text, .which = "error", .timeout = 5000)
|
.text |
Text to display. |
.which |
One of "error", "success" or "info". |
.timeout |
How long should the toast be displayed? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.