Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

53 lines
1.8KB

  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/components.R
  3. \name{bulma_sidenote}
  4. \alias{bulma_sidenote}
  5. \title{Bulma Message as a Sidenote}
  6. \usage{
  7. bulma_sidenote(
  8. ...,
  9. side = c("right", "left"),
  10. header = NULL,
  11. color = NULL,
  12. size = c("small", "normal", "medium", "large"),
  13. width = "one-third",
  14. delete = FALSE,
  15. column_class = NULL
  16. )
  17. }
  18. \arguments{
  19. \item{...}{
  20. Arguments passed on to \code{\link[=bulma_message]{bulma_message}}
  21. \describe{
  22. \item{\code{header}}{Message header}
  23. \item{\code{delete}}{Should delete button be displayed in upper right corner?}
  24. \item{\code{size}}{Text size, one of \code{"small"}, \code{"normal"} (default),
  25. \code{"medium"}, or \code{"large"}.}
  26. \item{\code{width}}{Width of the message. If \code{NULL} then width is 100\% of container.
  27. If specified, the message is wrapped in a \code{column} div (see \code{\link[=bulma_column]{bulma_column()}}
  28. for more information and for valid column sizes).}
  29. \item{\code{centered}}{Should the message container be centered horizontally?
  30. Requires \code{width} to be specified. If \code{TRUE}, the message container is
  31. inside a \code{column} div inside a \code{columns} div.}
  32. \item{\code{column_class}}{Additional parameters passed to the \code{class} argument
  33. of the \code{column} div. Only used if \code{width} is specified.}
  34. }}
  35. \item{side}{Should the sidenote be pulled to the left or the right?}
  36. }
  37. \description{
  38. Creates a message block as a sidenote, pulled either left or right.
  39. }
  40. \examples{
  41. bulma_sidenote("A sidenote!", side = "left", color = "info")
  42. bulma_sidenote("A sidenote!", side = "right", color = "info",
  43. header = "Title")
  44. }
  45. \seealso{
  46. \code{\link[=bulma_message]{bulma_message()}}
  47. Other Bulma components:
  48. \code{\link{bulma_message}()}
  49. }
  50. \concept{Bulma components}