powered by
Create a Bootstrap toast container
bs_toast_container(..., div_attr = c(class = "toast-container"))
A string of HTML.
A string, the HTML to display in the toast container.
A named list or named vector, names are attribute names and values are attribute values. Added to the div wrapping ....
bs_toast_container( bs_toast( id = "toast1", header = "Hello", body = "This is a toast" ) )
Run the code above in your browser using DataLab