position {cascadess} | R Documentation |
Positioning elements
Description
The position_*()
functions adjust set the position of an element.
Usage
position(x, method)
Arguments
x |
A tag element or .style pronoun. |
method |
A character string specifying the positioning method. One of,
|
Value
An object of the same type as x
.
See Also
Other position utilities:
position_centered()
,
position_sticky()
Examples
library(htmltools)
div(
.style %>%
position("absolute") %>%
position_top(50)
)
[Package cascadess version 0.2.0 Index]