bs_toast_container: Create a Bootstrap toast container

View source: R/bsTools2.R

bs_toast_containerR 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"
)
)

bsTools documentation built on Aug. 30, 2022, 1:08 a.m.