item_align {cascadess} | R Documentation |
Flex align self
Description
The item_align()
function adjusts
Usage
item_align(x, ...)
Arguments
x |
A tag element or .style pronoun. |
... |
A character string specifying an alignment. 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()
,
flex_wrap()
,
item_fill()
,
item_grow()
,
item_order()
Examples
library(htmltools)
div(
.style %>%
flex_display() %>%
flex_align("end"),
div("Flex item"),
div(
.style %>%
item_align("start"),
"Flex item (self aligned)"
),
div("Flex item")
)
[Package cascadess version 0.2.0 Index]