bs_toast_container {bsTools}R Documentation

Create a Bootstrap toast container

Description

Create a Bootstrap toast container

Usage

bs_toast_container(..., div_attr = c(class = "toast-container"))

Arguments

...

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 ....

Value

A string of HTML.

Examples

bs_toast_container(
bs_toast(
id = "toast1",
header = "Hello",
body = "This is a toast"
)
)

[Package bsTools version 1.0.5 Index]