flex_direction: Flex direction

View source: R/flex-direction.R

flex_directionR Documentation

Flex direction

Description

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

Other flex utilities: flex_align(), flex_content(), flex_display(), flex_justify(), flex_wrap(), item_align(), item_fill(), item_grow(), item_order()

Examples


library(htmltools)

div(
  .style %>%
    flex_display() %>%
    flex_direction("column")
)


cascadess documentation built on Oct. 30, 2024, 9:29 a.m.