Skip to contents

The flex_direction() function adjusts the

Usage

flex_direction(x, ...)

Arguments

x

A tag element or .style pronoun.

...

A character string specifying a direction. One of,

  • "row"

  • "column"

    Use name-value pairs to specify breakpoints.

Value

An object of the same type as x.

See also

Examples


library(htmltools)

div(
  .style %>%
    flex_display() %>%
    flex_direction("column")
)
#> <div class="d-flex flex-column"></div>