Learn R Programming

bsTools (version 0.1.0)

bs_container: Create a Bootstrap container div

Description

Create a Bootstrap container div.

Usage

bs_container(
  ...,
  fluid = FALSE,
  breakpoint = NULL,
  padding = NULL,
  overflow_hidden = FALSE,
  custom_class = NULL
)

Arguments

...

A string or strings of HTML content to include in the container div.

fluid

TRUE/FALSE, if TRUE, the class becomes "container-fluid" which sets the width to 100%.

breakpoint

A string, sets the break-point for reshaping content based on screen size. One of "sm", "md", "lg", "xl", "xxl".

padding

An integer, the padding to add, measured in px.

overflow_hidden

TRUE/FALSE, if TRUE, adds "overflow-hidden" to the container class

custom_class

A string, allows custom classes to be appended to the container class

Value

A string of HTML.

Examples

Run this code
# NOT RUN {
bs_container(
div(),
fluid = TRUE
)
# }

Run the code above in your browser using DataLab