See containers. A cli_div
container is special, because it may
add new themes, that are valid within the container.
Usage
cli_div(
id = NULL,
class = NULL,
theme = NULL,
.auto_close = TRUE,
.envir = parent.frame()
)
Arguments
- id
Element id, a string. If
NULL
, then a new id is generated and returned.- class
Class name, sting. Can be used in themes.
- theme
A custom theme for the container. See themes.
- .auto_close
Whether to close the container, when the calling function finishes (or
.envir
is removed, if specified).- .envir
Environment to evaluate the glue expressions in. It is also used to auto-close the container if
.auto_close
isTRUE
.