flex_wrap | R Documentation |
The flex_wrap()
function adjusts how a tag element's child elements wrap,
or don't wrap, onto new lines.
flex_wrap(x, ...)
x |
A tag element or .style pronoun. |
... |
A boolean specifying to wrap or not wrap. One of,
|
An object of the same type as x
.
Other flex utilities:
flex_align()
,
flex_content()
,
flex_direction()
,
flex_display()
,
flex_justify()
,
item_align()
,
item_fill()
,
item_grow()
,
item_order()
library(htmltools)
div(
.style %>%
flex_display() %>%
flex_wrap(FALSE),
div("Flex item"),
div("Flex item"),
div("Flex item"),
div("Flex item")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.