bs_toast_container | R Documentation |
Create a Bootstrap toast container
bs_toast_container(..., div_attr = c(class = "toast-container"))
... |
A string, the HTML to display in the toast container. |
div_attr |
A named list or named vector, names are attribute names and values are attribute values. Added to the div wrapping .... |
A string of HTML.
bs_toast_container( bs_toast( id = "toast1", header = "Hello", body = "This is a toast" ) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.