Nothing
display_values <- chr(
"none" = "none",
"inline" = "inline",
"inline-block" = "inline-block",
"block" = "block",
"grid" = "grid",
"inline-grid" = "inline-grid",
"table" = "table",
"table-cell" = "table-cell",
"table-row" = "table-row",
"flex" = "flex",
"inline-flex" = "inline-flex"
)
#' Display
#'
#' The `display()` function adjusts how a tag element and its contents are
#' rendered.
#'
#' @param x `r param_subject()`
#'
#' @param ... A character string specifying a display type. One of,
#'
#' `r rd_bullets(names(display_values))`
#'
#' Use name-value pairs to specify [breakpoints].
#'
#' @returns `r returns_same("x")`
#'
#' @export
#'
#' @examples
#'
#' library(htmltools)
#'
#' div(
#' .style %>%
#' display("flex") %>%
#' flex_justify("center"),
#' "Powerful stuff"
#' )
#'
#' div(
#' .style %>%
#' display(
#' xs = "inline",
#' md = "block"
#' ),
#' "Block and roll"
#' )
#'
display <- function(x, ...) {
add_class(
x,
compose_class(
"d",
display_values,
...
)
)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.