flex_wrap {cascadess} | R Documentation |
Flex wrapping
Description
The flex_wrap()
function adjusts how a tag element's child elements wrap,
or don't wrap, onto new lines.
Usage
flex_wrap(x, ...)
Arguments
x |
A tag element or .style pronoun. |
... |
A boolean specifying to wrap or not wrap. One of,
|
Value
An object of the same type as x
.
See Also
Other flex utilities:
flex_align()
,
flex_content()
,
flex_direction()
,
flex_display()
,
flex_justify()
,
item_align()
,
item_fill()
,
item_grow()
,
item_order()
Examples
library(htmltools)
div(
.style %>%
flex_display() %>%
flex_wrap(FALSE),
div("Flex item"),
div("Flex item"),
div("Flex item"),
div("Flex item")
)
[Package cascadess version 0.2.0 Index]