Learn R Programming

bsTools (version 0.1.0)

bs_row: Create a Bootstrap row div

Description

Create a Bootstrap row div

Usage

bs_row(
  ...,
  row_cols = NULL,
  align_items = NULL,
  justify_content = NULL,
  horizontal_gutter = NULL,
  vertical_gutter = NULL,
  gutter = NULL,
  custom_class = NULL
)

Arguments

...

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

row_cols

An integer, the number of columns to use for rendering content.

align_items

A string, likely one of "start", "center", or "end", that gets appended to "align-items-".

justify_content

A string, such as "md-center", that gets appended to "justify-content-".

horizontal_gutter

An integer, controls the horizontal gutter width, gets appended to "gx-".

vertical_gutter

An integer, controls the vertical gutter width, gets appended to "gy-".

gutter

An integer, controls the horizontal and vertical gutter width, gets appended to "g-".

custom_class

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

Value

A string of HTML.

Examples

Run this code
# NOT RUN {
bs_row(
bs_col(p("Col 1")),
bs_col(p("Col 2"))
)
# }

Run the code above in your browser using DataLab