您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

61 行
2.2KB

  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/layout.R
  3. \name{bulma_level}
  4. \alias{bulma_level}
  5. \title{Bulma Level}
  6. \usage{
  7. bulma_level(..., left = NULL, right = NULL, is_mobile = TRUE,
  8. type = c("item", "header"), container_tag = c("div", "nav"),
  9. class = NULL, style = NULL, level_class = NULL,
  10. level_style = NULL)
  11. }
  12. \arguments{
  13. \item{...}{Items to be wrapped in a \code{"level-item"} \code{<div>} and included in the
  14. main level container. If only one argument is provided and that argument is
  15. a list, the items inside the list will be treated as individual level items.}
  16. \item{left}{A list of items to be placed in the left side of the level in a
  17. \code{"level-left"} container.}
  18. \item{right}{A list of items to be placed in the right side of the level in a
  19. \code{"level-right"} container.}
  20. \item{type}{One of \code{"item"} or \code{"header"}. The default (\code{"item"}) places level
  21. items in the standard \code{"level-item"} container. Use \code{"header"} to use the
  22. names of the arguments in \code{...} as headers over their elements to create a
  23. large single-row pseudo-table. See examples for more details.}
  24. \item{container_tag}{Which tag should be used for the main \code{"level"} container?
  25. One of \code{"div"} or \code{"nav"}.}
  26. \item{class}{Additional classes applied to level container}
  27. \item{style}{Additional style parameters applied to level container}
  28. \item{level_class}{Additional classes applied to all level item containers (except
  29. for manually created level items).}
  30. \item{level_style}{Additional style arguments applied to all level item containers
  31. (except for manually create level items).}
  32. }
  33. \description{
  34. A multi-purpose horizontal level that can contain almost any other element.
  35. }
  36. \examples{
  37. bulma_level("Home", "Menu", "Bulma", "Reservations", "Contact")
  38. bulma_level("Tweets" = 3456, Following = 123, Followers = "456K", Likes = 789, type = "header")
  39. iris_vals <- lapply(iris, function(x) length(unique(x)))
  40. bulma_level(iris_vals, type = "header")
  41. }
  42. \references{
  43. \url{https://bulma.io/documentation/layout/level/}
  44. }
  45. \seealso{
  46. Other Bulma layouts: \code{\link{bulma_level_item_header}},
  47. \code{\link{bulma_level_items_header}},
  48. \code{\link{bulma_level_item}}
  49. }
  50. \concept{Bulma layouts}